{
  "id": "@typed/navigation/_core#NavigationState",
  "canonicalId": "@typed/navigation#NavigationState",
  "symbol": {
    "id": "@typed/navigation/_core#NavigationState",
    "packageName": "@typed/navigation",
    "moduleName": "_core",
    "exportName": "NavigationState",
    "kind": "type",
    "signatures": [
      "export type NavigationState = {\n    readonly entries: ReadonlyArray<Destination>;\n    readonly index: number;\n    readonly transition: Option.Option<Transition>;\n};"
    ],
    "summary": "Stores the backend-neutral history list, active index, and optional pending transition.",
    "sections": {
      "Why": "Provider adapters can share one tested transition state machine while retaining control over the\nactual browser, native, or in-memory commit operation.",
      "Ownership and lifetime": "This immutable snapshot acquires no resources. The RefSubject passed to\n{@link makeNavigationCore} owns successive snapshots for its provider Scope.",
      "Property: entries": "Committed entries in traversal order.",
      "Property: entries: Why": "The active entry, traversal bounds, and keyed lookup all derive from one ordered snapshot.",
      "Property: entries: Ownership and lifetime": "The snapshot retains this array by reference. Provider code replaces the snapshot rather than\nmutating the array while a transition is running.",
      "Property: index": "Zero-based active entry index.",
      "Property: index: Why": "Back, forward, and current-entry reads share the same cursor into `entries`.",
      "Property: index: Ownership and lifetime": "The index belongs to this immutable snapshot and changes only when the provider publishes a\nreplacement snapshot. Callers must keep it within the `entries` bounds.",
      "Property: transition": "Pending transition, cleared on commit, cancellation, redirect failure, or interruption.",
      "Property: transition: Why": "Consumers can distinguish proposed work from the destination at the committed `index`.",
      "Property: transition: Ownership and lifetime": "The provider retains `Some(transition)` only while that transition is current. Cleanup compares\nidentity before clearing it so an interrupted older transition cannot erase a newer one."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/navigation/src/_core.ts",
      "line": 41
    },
    "since": "1.0.0",
    "category": "Backend history state"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/navigation/_core#NavigationState",
    "packageName": "@typed/navigation",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "_core",
    "consumerSpecifier": "@typed/navigation/_core",
    "exportName": "NavigationState",
    "qualifiedName": "NavigationState",
    "declarationKey": "declaration:7e5dc9cd59bd85c4b52c4534",
    "family": "type-alias",
    "signatures": [
      "export type NavigationState = {\n    readonly entries: ReadonlyArray<Destination>;\n    readonly index: number;\n    readonly transition: Option.Option<Transition>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/_core.ts",
        "start": {
          "line": 41,
          "column": 1
        },
        "end": {
          "line": 87,
          "column": 3
        }
      },
      {
        "file": "packages/navigation/src/_core.ts",
        "start": {
          "line": 56,
          "column": 3
        },
        "end": {
          "line": 56,
          "column": 48
        }
      },
      {
        "file": "packages/navigation/src/_core.ts",
        "start": {
          "line": 71,
          "column": 3
        },
        "end": {
          "line": 71,
          "column": 26
        }
      },
      {
        "file": "packages/navigation/src/_core.ts",
        "start": {
          "line": 86,
          "column": 3
        },
        "end": {
          "line": 86,
          "column": 50
        }
      }
    ],
    "aliases": [
      "@typed/navigation#NavigationState"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:7e5dc9cd59bd85c4b52c4534",
    "name": "NavigationState",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type NavigationState = {\n    readonly entries: ReadonlyArray<Destination>;\n    readonly index: number;\n    readonly transition: Option.Option<Transition>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/_core.ts",
            "start": {
              "line": 41,
              "column": 1
            },
            "end": {
              "line": 87,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly entries: ReadonlyArray<Destination>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/_core.ts",
            "start": {
              "line": 56,
              "column": 3
            },
            "end": {
              "line": 56,
              "column": 48
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly index: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/_core.ts",
            "start": {
              "line": 71,
              "column": 3
            },
            "end": {
              "line": 71,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly transition: Option.Option<Transition>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/_core.ts",
            "start": {
              "line": 86,
              "column": 3
            },
            "end": {
              "line": 86,
              "column": 50
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export type NavigationState = {\n    readonly entries: ReadonlyArray<Destination>;\n    readonly index: number;\n    readonly transition: Option.Option<Transition>;\n};"
    ],
    "typeParameters": [],
    "summary": "Stores the backend-neutral history list, active index, and optional pending transition.",
    "sections": {
      "Why": "Provider adapters can share one tested transition state machine while retaining control over the\nactual browser, native, or in-memory commit operation.",
      "Ownership and lifetime": "This immutable snapshot acquires no resources. The RefSubject passed to\n{@link makeNavigationCore} owns successive snapshots for its provider Scope.",
      "Property: entries": "Committed entries in traversal order.",
      "Property: entries: Why": "The active entry, traversal bounds, and keyed lookup all derive from one ordered snapshot.",
      "Property: entries: Ownership and lifetime": "The snapshot retains this array by reference. Provider code replaces the snapshot rather than\nmutating the array while a transition is running.",
      "Property: index": "Zero-based active entry index.",
      "Property: index: Why": "Back, forward, and current-entry reads share the same cursor into `entries`.",
      "Property: index: Ownership and lifetime": "The index belongs to this immutable snapshot and changes only when the provider publishes a\nreplacement snapshot. Callers must keep it within the `entries` bounds.",
      "Property: transition": "Pending transition, cleared on commit, cancellation, redirect failure, or interruption.",
      "Property: transition: Why": "Consumers can distinguish proposed work from the destination at the committed `index`.",
      "Property: transition: Ownership and lifetime": "The provider retains `Some(transition)` only while that transition is current. Cleanup compares\nidentity before clearing it so an interrupted older transition cannot erase a newer one."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/_core.ts",
        "start": {
          "line": 41,
          "column": 1
        },
        "end": {
          "line": 87,
          "column": 3
        }
      },
      {
        "file": "packages/navigation/src/_core.ts",
        "start": {
          "line": 56,
          "column": 3
        },
        "end": {
          "line": 56,
          "column": 48
        }
      },
      {
        "file": "packages/navigation/src/_core.ts",
        "start": {
          "line": 71,
          "column": 3
        },
        "end": {
          "line": 71,
          "column": 26
        }
      },
      {
        "file": "packages/navigation/src/_core.ts",
        "start": {
          "line": 86,
          "column": 3
        },
        "end": {
          "line": 86,
          "column": 50
        }
      }
    ],
    "since": "1.0.0",
    "category": "Backend history state"
  }
}
