{
  "id": "@typed/guard#GuardInput",
  "canonicalId": "@typed/guard#GuardInput",
  "symbol": {
    "id": "@typed/guard#GuardInput",
    "packageName": "@typed/guard",
    "moduleName": ".",
    "exportName": "GuardInput",
    "kind": "type",
    "signatures": [
      "export type GuardInput<I, O, E = never, R = never> = Guard<I, O, E, R> | AsGuard<I, O, E, R>;"
    ],
    "summary": "A Guard or an object that supplies one. Guard combinators accept either form.",
    "sections": {
      "Why": "A single input contract lets every combinator accept direct functions and domain adapters consistently.",
      "Ownership and lifetime": "This union acquires no resources; normalization does not extend the lifetime of either alternative."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { GuardInput } from \"@typed/guard\"\nimport { liftPredicate } from \"@typed/guard\"\nconst input: GuardInput<unknown, string> = liftPredicate((value: unknown): value is string => typeof value === \"string\")"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/guard/src/index.ts",
      "line": 193
    },
    "since": "1.0.0",
    "category": "Guard contracts"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/guard#GuardInput",
    "packageName": "@typed/guard",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/guard",
    "exportName": "GuardInput",
    "qualifiedName": "GuardInput",
    "declarationKey": "declaration:cafa617ad50f3f667b52a47b",
    "family": "type-alias",
    "signatures": [
      "export type GuardInput<I, O, E = never, R = never> = Guard<I, O, E, R> | AsGuard<I, O, E, R>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/guard/src/index.ts",
        "start": {
          "line": 193,
          "column": 1
        },
        "end": {
          "line": 193,
          "column": 94
        }
      }
    ],
    "aliases": [
      "@typed/router#GuardInput",
      "@typed/router/Matcher#GuardInput"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:cafa617ad50f3f667b52a47b",
    "name": "GuardInput",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type GuardInput<I, O, E = never, R = never> = Guard<I, O, E, R> | AsGuard<I, O, E, R>;"
        ],
        "typeParameters": [
          "I",
          "O",
          "E = never",
          "R = never"
        ],
        "sourceSpans": [
          {
            "file": "packages/guard/src/index.ts",
            "start": {
              "line": 193,
              "column": 1
            },
            "end": {
              "line": 193,
              "column": 94
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type GuardInput<I, O, E = never, R = never> = Guard<I, O, E, R> | AsGuard<I, O, E, R>;"
    ],
    "typeParameters": [
      "I",
      "O",
      "E = never",
      "R = never"
    ],
    "summary": "A Guard or an object that supplies one. Guard combinators accept either form.",
    "sections": {
      "Why": "A single input contract lets every combinator accept direct functions and domain adapters consistently.",
      "Ownership and lifetime": "This union acquires no resources; normalization does not extend the lifetime of either alternative."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { GuardInput } from \"@typed/guard\"\nimport { liftPredicate } from \"@typed/guard\"\nconst input: GuardInput<unknown, string> = liftPredicate((value: unknown): value is string => typeof value === \"string\")"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/guard/src/index.ts",
        "start": {
          "line": 193,
          "column": 1
        },
        "end": {
          "line": 193,
          "column": 94
        }
      }
    ],
    "since": "1.0.0",
    "category": "Guard contracts"
  }
}
