{
  "id": "@typed/navigation/model#Destination",
  "canonicalId": "@typed/navigation#Destination",
  "symbol": {
    "id": "@typed/navigation/model#Destination",
    "packageName": "@typed/navigation",
    "moduleName": "model",
    "exportName": "Destination",
    "kind": "constant",
    "signatures": [
      "export declare const Destination: Schema.Struct<{\n    readonly id: Schema.String;\n    readonly key: Schema.String;\n    readonly url: Schema.URLFromString;\n    readonly state: Schema.Unknown;\n    readonly sameDocument: Schema.Boolean;\n}>;",
      "export type Destination = typeof Destination.Type;"
    ],
    "summary": "Describes a committed history entry with stable `id` and `key` identity.",
    "sections": {
      "Why": "Routers and state stores need identity that survives URL equality: `key` addresses traversal,\nwhile `id` distinguishes commits which may otherwise contain the same URL and state.",
      "Ownership and lifetime": "This immutable schema acquires no resources. The active navigation provider owns entry creation,\nretention, serialization, and eviction."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Destination } from \"@typed/navigation/model\"\nimport * as Schema from \"effect/Schema\"\n\nconst decode = Schema.decodeUnknownSync(Destination)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/navigation/src/model.ts",
      "line": 70
    },
    "since": "1.0.0",
    "category": "Destination schemas"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/navigation/model#Destination",
    "packageName": "@typed/navigation",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "model",
    "consumerSpecifier": "@typed/navigation/model",
    "exportName": "Destination",
    "qualifiedName": "Destination",
    "declarationKey": "declaration:d1959c883f1f0e583f01f10c",
    "family": "variable",
    "signatures": [
      "export declare const Destination: Schema.Struct<{\n    readonly id: Schema.String;\n    readonly key: Schema.String;\n    readonly url: Schema.URLFromString;\n    readonly state: Schema.Unknown;\n    readonly sameDocument: Schema.Boolean;\n}>;",
      "export type Destination = typeof Destination.Type;"
    ],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/model.ts",
        "start": {
          "line": 70,
          "column": 14
        },
        "end": {
          "line": 74,
          "column": 3
        }
      },
      {
        "file": "packages/navigation/src/model.ts",
        "start": {
          "line": 89,
          "column": 1
        },
        "end": {
          "line": 89,
          "column": 51
        }
      }
    ],
    "aliases": [
      "@typed/navigation#Destination"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:d1959c883f1f0e583f01f10c",
    "name": "Destination",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const Destination: Schema.Struct<{\n    readonly id: Schema.String;\n    readonly key: Schema.String;\n    readonly url: Schema.URLFromString;\n    readonly state: Schema.Unknown;\n    readonly sameDocument: Schema.Boolean;\n}>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/model.ts",
            "start": {
              "line": 70,
              "column": 14
            },
            "end": {
              "line": 74,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type Destination = typeof Destination.Type;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/model.ts",
            "start": {
              "line": 89,
              "column": 1
            },
            "end": {
              "line": 89,
              "column": 51
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const Destination: Schema.Struct<{\n    readonly id: Schema.String;\n    readonly key: Schema.String;\n    readonly url: Schema.URLFromString;\n    readonly state: Schema.Unknown;\n    readonly sameDocument: Schema.Boolean;\n}>;",
      "export type Destination = typeof Destination.Type;"
    ],
    "typeParameters": [],
    "summary": "Describes a committed history entry with stable `id` and `key` identity.",
    "sections": {
      "Why": "Routers and state stores need identity that survives URL equality: `key` addresses traversal,\nwhile `id` distinguishes commits which may otherwise contain the same URL and state.",
      "Ownership and lifetime": "This immutable schema acquires no resources. The active navigation provider owns entry creation,\nretention, serialization, and eviction."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Destination } from \"@typed/navigation/model\"\nimport * as Schema from \"effect/Schema\"\n\nconst decode = Schema.decodeUnknownSync(Destination)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/model.ts",
        "start": {
          "line": 70,
          "column": 14
        },
        "end": {
          "line": 74,
          "column": 3
        }
      },
      {
        "file": "packages/navigation/src/model.ts",
        "start": {
          "line": 89,
          "column": 1
        },
        "end": {
          "line": 89,
          "column": 51
        }
      }
    ],
    "since": "1.0.0",
    "category": "Destination schemas"
  }
}
