{
  "id": "@typed/router#Layout",
  "canonicalId": "@typed/router#Layout",
  "symbol": {
    "id": "@typed/router#Layout",
    "packageName": "@typed/router",
    "moduleName": ".",
    "exportName": "Layout",
    "kind": "type",
    "signatures": [
      "export type Layout<Params, A, E, R, B, E2, R2> = (params: LayoutParams<Params, A, E, R>) => Fx.Fx<B, E2, R2>;"
    ],
    "summary": "A function that wraps matched content using reactive params.",
    "sections": {
      "Why": "Layout output, errors, and services compose in the surrounding Matcher type.",
      "Ownership and lifetime": "The executor invokes a layout only after its route is selected. Its child Scope owns the parameter/content RefSubjects and every subscription made by the returned Fx."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/Matcher.ts",
      "line": 61
    },
    "since": "1.0.0",
    "category": "Route layouts"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router#Layout",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/router",
    "exportName": "Layout",
    "qualifiedName": "Layout",
    "declarationKey": "declaration:ae20cfa4d725c982f5c240c8",
    "family": "type-alias",
    "signatures": [
      "export type Layout<Params, A, E, R, B, E2, R2> = (params: LayoutParams<Params, A, E, R>) => Fx.Fx<B, E2, R2>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 61,
          "column": 1
        },
        "end": {
          "line": 63,
          "column": 23
        }
      }
    ],
    "aliases": [
      "@typed/router/Matcher#Layout"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:ae20cfa4d725c982f5c240c8",
    "name": "Layout",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type Layout<Params, A, E, R, B, E2, R2> = (params: LayoutParams<Params, A, E, R>) => Fx.Fx<B, E2, R2>;"
        ],
        "typeParameters": [
          "Params",
          "A",
          "E",
          "R",
          "B",
          "E2",
          "R2"
        ],
        "sourceSpans": [
          {
            "file": "packages/router/src/Matcher.ts",
            "start": {
              "line": 61,
              "column": 1
            },
            "end": {
              "line": 63,
              "column": 23
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type Layout<Params, A, E, R, B, E2, R2> = (params: LayoutParams<Params, A, E, R>) => Fx.Fx<B, E2, R2>;"
    ],
    "typeParameters": [
      "Params",
      "A",
      "E",
      "R",
      "B",
      "E2",
      "R2"
    ],
    "summary": "A function that wraps matched content using reactive params.",
    "sections": {
      "Why": "Layout output, errors, and services compose in the surrounding Matcher type.",
      "Ownership and lifetime": "The executor invokes a layout only after its route is selected. Its child Scope owns the parameter/content RefSubjects and every subscription made by the returned Fx."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 61,
          "column": 1
        },
        "end": {
          "line": 63,
          "column": 23
        }
      }
    ],
    "since": "1.0.0",
    "category": "Route layouts"
  }
}
