{
  "id": "@typed/router#ServerRouter",
  "canonicalId": "@typed/router#ServerRouter",
  "symbol": {
    "id": "@typed/router#ServerRouter",
    "packageName": "@typed/router",
    "moduleName": ".",
    "exportName": "ServerRouter",
    "kind": "constant",
    "signatures": [
      "export declare const ServerRouter: (options: MemoryOptions | InitialMemoryOptions) => Layer.Layer<Router, NavigationError>;"
    ],
    "summary": "Builds an SSR Router Layer from an in-memory history snapshot or initial URL.",
    "sections": {
      "Why": "Server rendering can run the exact matcher program without evaluating browser globals.",
      "Ownership and lifetime": "Layer acquisition owns memory history, random Uuid7State, and the root CurrentRoute until the Layer Scope\ncloses. Identifier and navigation failures remain in `NavigationError`."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import * as Router from \"@typed/router\"\n\nconst RouterLive = Router.ServerRouter({ url: \"https://example.com/products\" })"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/router/src/Router.ts",
      "line": 82
    },
    "since": "1.0.0",
    "category": "Runtime providers"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router#ServerRouter",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/router",
    "exportName": "ServerRouter",
    "qualifiedName": "ServerRouter",
    "declarationKey": "declaration:6b72090935852a65c3d03a8c",
    "family": "variable",
    "signatures": [
      "export declare const ServerRouter: (options: MemoryOptions | InitialMemoryOptions) => Layer.Layer<Router, NavigationError>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Router.ts",
        "start": {
          "line": 82,
          "column": 14
        },
        "end": {
          "line": 88,
          "column": 4
        }
      }
    ],
    "aliases": [
      "@typed/router/Router#ServerRouter"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:6b72090935852a65c3d03a8c",
    "name": "ServerRouter",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const ServerRouter: (options: MemoryOptions | InitialMemoryOptions) => Layer.Layer<Router, NavigationError>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/Router.ts",
            "start": {
              "line": 82,
              "column": 14
            },
            "end": {
              "line": 88,
              "column": 4
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const ServerRouter: (options: MemoryOptions | InitialMemoryOptions) => Layer.Layer<Router, NavigationError>;"
    ],
    "typeParameters": [],
    "summary": "Builds an SSR Router Layer from an in-memory history snapshot or initial URL.",
    "sections": {
      "Why": "Server rendering can run the exact matcher program without evaluating browser globals.",
      "Ownership and lifetime": "Layer acquisition owns memory history, random Uuid7State, and the root CurrentRoute until the Layer Scope\ncloses. Identifier and navigation failures remain in `NavigationError`."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import * as Router from \"@typed/router\"\n\nconst RouterLive = Router.ServerRouter({ url: \"https://example.com/products\" })"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Router.ts",
        "start": {
          "line": 82,
          "column": 14
        },
        "end": {
          "line": 88,
          "column": 4
        }
      }
    ],
    "since": "1.0.0",
    "category": "Runtime providers"
  }
}
