{
  "id": "@typed/router/AST#PathAst",
  "canonicalId": "@typed/router/AST#PathAst",
  "symbol": {
    "id": "@typed/router/AST#PathAst",
    "packageName": "@typed/router",
    "moduleName": "AST",
    "exportName": "PathAst",
    "kind": "type",
    "signatures": [
      "export type PathAst = PathAst.Literal | PathAst.Parameter | PathAst.Slash | PathAst.Wildcard | PathAst.QueryParams;",
      "export declare namespace PathAst {\n    type Literal = {\n        type: \"literal\";\n        value: string;\n    };\n    type Parameter = {\n        type: \"parameter\";\n        name: string;\n        optional?: boolean;\n        regex?: string;\n    };\n    type Wildcard = {\n        type: \"wildcard\";\n    };\n    type Slash = {\n        type: \"slash\";\n    };\n    type QueryParams = {\n        type: \"query-params\";\n        value: ReadonlyArray<PathAst.QueryParam>;\n    };\n    type QueryParam = {\n        type: \"query-param\";\n        name: string;\n        value: PathAst;\n    };\n}"
    ],
    "summary": "The union of path, parameter, wildcard, slash, and query AST nodes.",
    "sections": {
      "Why": "One explicit syntax tree feeds formatting, schema derivation, and matcher compilation.",
      "Ownership and lifetime": "`PathAst` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/AST.ts",
      "line": 23
    },
    "since": "1.0.0",
    "category": "Path syntax"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/AST#PathAst",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "AST",
    "consumerSpecifier": "@typed/router/AST",
    "exportName": "PathAst",
    "qualifiedName": "PathAst",
    "declarationKey": "declaration:e52e1fd015bed3b107d1388d",
    "family": "type-alias",
    "signatures": [
      "export type PathAst = PathAst.Literal | PathAst.Parameter | PathAst.Slash | PathAst.Wildcard | PathAst.QueryParams;",
      "export declare namespace PathAst {\n    type Literal = {\n        type: \"literal\";\n        value: string;\n    };\n    type Parameter = {\n        type: \"parameter\";\n        name: string;\n        optional?: boolean;\n        regex?: string;\n    };\n    type Wildcard = {\n        type: \"wildcard\";\n    };\n    type Slash = {\n        type: \"slash\";\n    };\n    type QueryParams = {\n        type: \"query-params\";\n        value: ReadonlyArray<PathAst.QueryParam>;\n    };\n    type QueryParam = {\n        type: \"query-param\";\n        name: string;\n        value: PathAst;\n    };\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 23,
          "column": 1
        },
        "end": {
          "line": 28,
          "column": 25
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 30,
          "column": 1
        },
        "end": {
          "line": 310,
          "column": 2
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:e52e1fd015bed3b107d1388d",
    "name": "PathAst",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type PathAst = PathAst.Literal | PathAst.Parameter | PathAst.Slash | PathAst.Wildcard | PathAst.QueryParams;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 23,
              "column": 1
            },
            "end": {
              "line": 28,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "namespace",
        "syntaxKind": "ModuleDeclaration",
        "signatures": [
          "export declare namespace PathAst {\n    type Literal = {\n        type: \"literal\";\n        value: string;\n    };\n    type Parameter = {\n        type: \"parameter\";\n        name: string;\n        optional?: boolean;\n        regex?: string;\n    };\n    type Wildcard = {\n        type: \"wildcard\";\n    };\n    type Slash = {\n        type: \"slash\";\n    };\n    type QueryParams = {\n        type: \"query-params\";\n        value: ReadonlyArray<PathAst.QueryParam>;\n    };\n    type QueryParam = {\n        type: \"query-param\";\n        name: string;\n        value: PathAst;\n    };\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 30,
              "column": 1
            },
            "end": {
              "line": 310,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type PathAst = PathAst.Literal | PathAst.Parameter | PathAst.Slash | PathAst.Wildcard | PathAst.QueryParams;",
      "export declare namespace PathAst {\n    type Literal = {\n        type: \"literal\";\n        value: string;\n    };\n    type Parameter = {\n        type: \"parameter\";\n        name: string;\n        optional?: boolean;\n        regex?: string;\n    };\n    type Wildcard = {\n        type: \"wildcard\";\n    };\n    type Slash = {\n        type: \"slash\";\n    };\n    type QueryParams = {\n        type: \"query-params\";\n        value: ReadonlyArray<PathAst.QueryParam>;\n    };\n    type QueryParam = {\n        type: \"query-param\";\n        name: string;\n        value: PathAst;\n    };\n}"
    ],
    "typeParameters": [],
    "summary": "The union of path, parameter, wildcard, slash, and query AST nodes.",
    "sections": {
      "Why": "One explicit syntax tree feeds formatting, schema derivation, and matcher compilation.",
      "Ownership and lifetime": "`PathAst` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 23,
          "column": 1
        },
        "end": {
          "line": 28,
          "column": 25
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 30,
          "column": 1
        },
        "end": {
          "line": 310,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Path syntax"
  }
}
