{
  "id": "@typed/router#ParamWithSchema",
  "canonicalId": "@typed/router#ParamWithSchema",
  "symbol": {
    "id": "@typed/router#ParamWithSchema",
    "packageName": "@typed/router",
    "moduleName": ".",
    "exportName": "ParamWithSchema",
    "kind": "constant",
    "signatures": [
      "export declare const ParamWithSchema: <const P extends string, S extends Schema.Codec<any, string, any, any> = Schema.Codec<string>>(paramName: P, schema: S) => Route<`/:${P}`, Schema.Codec<{\n    readonly [K in P]: S[\"Type\"];\n}, Path.Params<`/:${P}`>, S[\"DecodingServices\"], S[\"EncodingServices\"]>>;"
    ],
    "summary": "Constructs a named path parameter decoded by an Effect Schema Codec.",
    "sections": {
      "Why": "Routes can expose domain values while retaining encoded string matching and schema services.",
      "Ownership and lifetime": "`ParamWithSchema` constructs its Route immediately. The Route retains the supplied AST or route values and lazily memoizes derived paths and Codecs; Codec services are required only when decoding or encoding runs."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/Route.ts",
      "line": 565
    },
    "since": "1.0.0",
    "category": "Parameter codecs"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router#ParamWithSchema",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/router",
    "exportName": "ParamWithSchema",
    "qualifiedName": "ParamWithSchema",
    "declarationKey": "declaration:11af6dbc922a665f0594cf67",
    "family": "variable",
    "signatures": [
      "export declare const ParamWithSchema: <const P extends string, S extends Schema.Codec<any, string, any, any> = Schema.Codec<string>>(paramName: P, schema: S) => Route<`/:${P}`, Schema.Codec<{\n    readonly [K in P]: S[\"Type\"];\n}, Path.Params<`/:${P}`>, S[\"DecodingServices\"], S[\"EncodingServices\"]>>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Route.ts",
        "start": {
          "line": 565,
          "column": 14
        },
        "end": {
          "line": 584,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/router/Route#ParamWithSchema"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:11af6dbc922a665f0594cf67",
    "name": "ParamWithSchema",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const ParamWithSchema: <const P extends string, S extends Schema.Codec<any, string, any, any> = Schema.Codec<string>>(paramName: P, schema: S) => Route<`/:${P}`, Schema.Codec<{\n    readonly [K in P]: S[\"Type\"];\n}, Path.Params<`/:${P}`>, S[\"DecodingServices\"], S[\"EncodingServices\"]>>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/Route.ts",
            "start": {
              "line": 565,
              "column": 14
            },
            "end": {
              "line": 584,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const ParamWithSchema: <const P extends string, S extends Schema.Codec<any, string, any, any> = Schema.Codec<string>>(paramName: P, schema: S) => Route<`/:${P}`, Schema.Codec<{\n    readonly [K in P]: S[\"Type\"];\n}, Path.Params<`/:${P}`>, S[\"DecodingServices\"], S[\"EncodingServices\"]>>;"
    ],
    "typeParameters": [],
    "summary": "Constructs a named path parameter decoded by an Effect Schema Codec.",
    "sections": {
      "Why": "Routes can expose domain values while retaining encoded string matching and schema services.",
      "Ownership and lifetime": "`ParamWithSchema` constructs its Route immediately. The Route retains the supplied AST or route values and lazily memoizes derived paths and Codecs; Codec services are required only when decoding or encoding runs."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/Route.ts",
        "start": {
          "line": 565,
          "column": 14
        },
        "end": {
          "line": 584,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Parameter codecs"
  }
}
