{
  "id": "@typed/navigation#initialMemory",
  "canonicalId": "@typed/navigation#initialMemory",
  "symbol": {
    "id": "@typed/navigation#initialMemory",
    "packageName": "@typed/navigation",
    "moduleName": ".",
    "exportName": "initialMemory",
    "kind": "constant",
    "signatures": [
      "export declare const initialMemory: (options: InitialMemoryOptions) => Layer.Layer<Navigation, NavigationError, Uuid7State>;"
    ],
    "summary": "Provides Navigation from one URL with generated entry identity.",
    "sections": {
      "Why": "It is the concise SSR/test provider when no prior history snapshot exists, while preserving the\nsame identity and transition semantics as {@link memory}.",
      "Ownership and lifetime": "Layer acquisition uses `Uuid7State` to create the initial key and id, then delegates state ownership to\n`memory`. The Navigation service and subscriptions live until the Layer Scope closes."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { initialMemory } from \"@typed/navigation/memory\"\n\nconst NavigationLive = initialMemory({ url: \"/products?page=2\", maxEntries: 50 })"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/navigation/src/memory.ts",
      "line": 321
    },
    "since": "1.0.0",
    "category": "Memory history providers"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/navigation#initialMemory",
    "packageName": "@typed/navigation",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/navigation",
    "exportName": "initialMemory",
    "qualifiedName": "initialMemory",
    "declarationKey": "declaration:1c202eeaafb6d45e9093e61d",
    "family": "variable",
    "signatures": [
      "export declare const initialMemory: (options: InitialMemoryOptions) => Layer.Layer<Navigation, NavigationError, Uuid7State>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/memory.ts",
        "start": {
          "line": 321,
          "column": 14
        },
        "end": {
          "line": 345,
          "column": 4
        }
      }
    ],
    "aliases": [
      "@typed/navigation/memory#initialMemory"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:1c202eeaafb6d45e9093e61d",
    "name": "initialMemory",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const initialMemory: (options: InitialMemoryOptions) => Layer.Layer<Navigation, NavigationError, Uuid7State>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/memory.ts",
            "start": {
              "line": 321,
              "column": 14
            },
            "end": {
              "line": 345,
              "column": 4
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const initialMemory: (options: InitialMemoryOptions) => Layer.Layer<Navigation, NavigationError, Uuid7State>;"
    ],
    "typeParameters": [],
    "summary": "Provides Navigation from one URL with generated entry identity.",
    "sections": {
      "Why": "It is the concise SSR/test provider when no prior history snapshot exists, while preserving the\nsame identity and transition semantics as {@link memory}.",
      "Ownership and lifetime": "Layer acquisition uses `Uuid7State` to create the initial key and id, then delegates state ownership to\n`memory`. The Navigation service and subscriptions live until the Layer Scope closes."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { initialMemory } from \"@typed/navigation/memory\"\n\nconst NavigationLive = initialMemory({ url: \"/products?page=2\", maxEntries: 50 })"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/memory.ts",
        "start": {
          "line": 321,
          "column": 14
        },
        "end": {
          "line": 345,
          "column": 4
        }
      }
    ],
    "since": "1.0.0",
    "category": "Memory history providers"
  }
}
