{
  "id": "@typed/router/Uri#ParseUri",
  "canonicalId": "@typed/router/Uri#ParseUri",
  "symbol": {
    "id": "@typed/router/Uri#ParseUri",
    "packageName": "@typed/router",
    "moduleName": "Uri",
    "exportName": "ParseUri",
    "kind": "type",
    "signatures": [
      "export type ParseUri<Input extends string, BaseUri extends string = never> = Pipe<Input, ParseUriLambda, [\n    BaseUri\n] extends [\n    never\n] ? Identity : ApplyBaseUriLambda<ParseUri<BaseUri>>> extends infer R ? Uri<GetUriKey<R, \"protocol\">, GetUriKey<R, \"username\">, GetUriKey<R, \"password\">, GetUriKey<R, \"hostname\">, GetUriKey<R, \"port\">, GetUriKey<R, \"pathname\">, GetUriKey<R, \"query\">, GetUriKey<R, \"hash\">> : never;"
    ],
    "summary": "Parses a URI string literal into component literal types, optionally against a base URI.",
    "sections": {
      "Why": "Route type utilities can reason about origin and path components without widening to string.",
      "Ownership and lifetime": "`ParseUri` evaluates the URI parser only for string-literal inputs; its component result is erased from emitted JavaScript."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { ParseUri } from \"@typed/router/Uri\"\n\ntype Account = ParseUri<\"/account?tab=profile\", \"https://example.com/\">"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/router/src/Uri.ts",
      "line": 23
    },
    "since": "1.0.0",
    "category": "URI type inference"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/Uri#ParseUri",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Uri",
    "consumerSpecifier": "@typed/router/Uri",
    "exportName": "ParseUri",
    "qualifiedName": "ParseUri",
    "declarationKey": "declaration:245c7bd027e7ab7f0e939c09",
    "family": "type-alias",
    "signatures": [
      "export type ParseUri<Input extends string, BaseUri extends string = never> = Pipe<Input, ParseUriLambda, [\n    BaseUri\n] extends [\n    never\n] ? Identity : ApplyBaseUriLambda<ParseUri<BaseUri>>> extends infer R ? Uri<GetUriKey<R, \"protocol\">, GetUriKey<R, \"username\">, GetUriKey<R, \"password\">, GetUriKey<R, \"hostname\">, GetUriKey<R, \"port\">, GetUriKey<R, \"pathname\">, GetUriKey<R, \"query\">, GetUriKey<R, \"hash\">> : never;"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Uri.ts",
        "start": {
          "line": 23,
          "column": 1
        },
        "end": {
          "line": 39,
          "column": 13
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:245c7bd027e7ab7f0e939c09",
    "name": "ParseUri",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type ParseUri<Input extends string, BaseUri extends string = never> = Pipe<Input, ParseUriLambda, [\n    BaseUri\n] extends [\n    never\n] ? Identity : ApplyBaseUriLambda<ParseUri<BaseUri>>> extends infer R ? Uri<GetUriKey<R, \"protocol\">, GetUriKey<R, \"username\">, GetUriKey<R, \"password\">, GetUriKey<R, \"hostname\">, GetUriKey<R, \"port\">, GetUriKey<R, \"pathname\">, GetUriKey<R, \"query\">, GetUriKey<R, \"hash\">> : never;"
        ],
        "typeParameters": [
          "Input extends string",
          "BaseUri extends string = never"
        ],
        "sourceSpans": [
          {
            "file": "packages/router/src/Uri.ts",
            "start": {
              "line": 23,
              "column": 1
            },
            "end": {
              "line": 39,
              "column": 13
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type ParseUri<Input extends string, BaseUri extends string = never> = Pipe<Input, ParseUriLambda, [\n    BaseUri\n] extends [\n    never\n] ? Identity : ApplyBaseUriLambda<ParseUri<BaseUri>>> extends infer R ? Uri<GetUriKey<R, \"protocol\">, GetUriKey<R, \"username\">, GetUriKey<R, \"password\">, GetUriKey<R, \"hostname\">, GetUriKey<R, \"port\">, GetUriKey<R, \"pathname\">, GetUriKey<R, \"query\">, GetUriKey<R, \"hash\">> : never;"
    ],
    "typeParameters": [
      "Input extends string",
      "BaseUri extends string = never"
    ],
    "summary": "Parses a URI string literal into component literal types, optionally against a base URI.",
    "sections": {
      "Why": "Route type utilities can reason about origin and path components without widening to string.",
      "Ownership and lifetime": "`ParseUri` evaluates the URI parser only for string-literal inputs; its component result is erased from emitted JavaScript."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { ParseUri } from \"@typed/router/Uri\"\n\ntype Account = ParseUri<\"/account?tab=profile\", \"https://example.com/\">"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Uri.ts",
        "start": {
          "line": 23,
          "column": 1
        },
        "end": {
          "line": 39,
          "column": 13
        }
      }
    ],
    "since": "1.0.0",
    "category": "URI type inference"
  }
}
