{
  "id": "@typed/router/AST#layer",
  "canonicalId": "@typed/router/AST#layer",
  "symbol": {
    "id": "@typed/router/AST#layer",
    "packageName": "@typed/router",
    "moduleName": "AST",
    "exportName": "layer",
    "kind": "constant",
    "signatures": [
      "export declare const layer: (matches: ReadonlyArray<MatchAst>, deps: ReadonlyArray<AnyLayer>) => MatchAst.Layer;"
    ],
    "summary": "Wraps Match AST nodes with Effect Layer dependencies.",
    "sections": {
      "Why": "Candidate acquisition and rollback boundaries stay local to the wrapped route subtree.",
      "Ownership and lifetime": "`layer` returns a fresh plain AST node immediately and retains any supplied child nodes or arrays by reference; it acquires no external resource."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/AST.ts",
      "line": 1010
    },
    "since": "1.0.0",
    "category": "Matcher composition syntax"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/AST#layer",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "AST",
    "consumerSpecifier": "@typed/router/AST",
    "exportName": "layer",
    "qualifiedName": "layer",
    "declarationKey": "declaration:276cacf78f84495aca680fbf",
    "family": "variable",
    "signatures": [
      "export declare const layer: (matches: ReadonlyArray<MatchAst>, deps: ReadonlyArray<AnyLayer>) => MatchAst.Layer;"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 1010,
          "column": 14
        },
        "end": {
          "line": 1013,
          "column": 56
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:276cacf78f84495aca680fbf",
    "name": "layer",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const layer: (matches: ReadonlyArray<MatchAst>, deps: ReadonlyArray<AnyLayer>) => MatchAst.Layer;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 1010,
              "column": 14
            },
            "end": {
              "line": 1013,
              "column": 56
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const layer: (matches: ReadonlyArray<MatchAst>, deps: ReadonlyArray<AnyLayer>) => MatchAst.Layer;"
    ],
    "typeParameters": [],
    "summary": "Wraps Match AST nodes with Effect Layer dependencies.",
    "sections": {
      "Why": "Candidate acquisition and rollback boundaries stay local to the wrapped route subtree.",
      "Ownership and lifetime": "`layer` returns a fresh plain AST node immediately and retains any supplied child nodes or arrays by reference; it acquires no external resource."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 1010,
          "column": 14
        },
        "end": {
          "line": 1013,
          "column": 56
        }
      }
    ],
    "since": "1.0.0",
    "category": "Matcher composition syntax"
  }
}
