{
  "id": "@typed/navigation/Navigation#CurrentPath",
  "canonicalId": "@typed/navigation#CurrentPath",
  "symbol": {
    "id": "@typed/navigation/Navigation#CurrentPath",
    "packageName": "@typed/navigation",
    "moduleName": "Navigation",
    "exportName": "CurrentPath",
    "kind": "constant",
    "signatures": [
      "export declare const CurrentPath: RefSubject.Computed<string, never, Navigation>;"
    ],
    "summary": "Reactively exposes the current pathname and search string, excluding origin and hash.",
    "sections": {
      "Why": "Router matching needs a stable backend-neutral location source while leaving browser-only URL\ndetails to the provider.",
      "Ownership and lifetime": "This computed RefSubject acquires no independent listener. It borrows the active Navigation\nservice and lives for the consuming Effect's subscription."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { CurrentPath } from \"@typed/navigation/Navigation\"\nimport * as Effect from \"effect/Effect\"\n\nconst readPath = Effect.map(CurrentPath, (path) => path)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/navigation/src/Navigation.ts",
      "line": 561
    },
    "since": "1.0.0",
    "category": "Current destination"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/navigation/Navigation#CurrentPath",
    "packageName": "@typed/navigation",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Navigation",
    "consumerSpecifier": "@typed/navigation/Navigation",
    "exportName": "CurrentPath",
    "qualifiedName": "CurrentPath",
    "declarationKey": "declaration:427e46e5df5143026555f918",
    "family": "variable",
    "signatures": [
      "export declare const CurrentPath: RefSubject.Computed<string, never, Navigation>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/Navigation.ts",
        "start": {
          "line": 561,
          "column": 14
        },
        "end": {
          "line": 567,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/navigation#CurrentPath"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:427e46e5df5143026555f918",
    "name": "CurrentPath",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const CurrentPath: RefSubject.Computed<string, never, Navigation>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/Navigation.ts",
            "start": {
              "line": 561,
              "column": 14
            },
            "end": {
              "line": 567,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const CurrentPath: RefSubject.Computed<string, never, Navigation>;"
    ],
    "typeParameters": [],
    "summary": "Reactively exposes the current pathname and search string, excluding origin and hash.",
    "sections": {
      "Why": "Router matching needs a stable backend-neutral location source while leaving browser-only URL\ndetails to the provider.",
      "Ownership and lifetime": "This computed RefSubject acquires no independent listener. It borrows the active Navigation\nservice and lives for the consuming Effect's subscription."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { CurrentPath } from \"@typed/navigation/Navigation\"\nimport * as Effect from \"effect/Effect\"\n\nconst readPath = Effect.map(CurrentPath, (path) => path)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/Navigation.ts",
        "start": {
          "line": 561,
          "column": 14
        },
        "end": {
          "line": 567,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Current destination"
  }
}
