{
  "id": "@typed/ui/index#Form.slot",
  "canonicalId": "@typed/ui/Form#slot",
  "symbol": {
    "id": "@typed/ui/index#Form.slot",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Form.slot",
    "kind": "function",
    "signatures": [
      "export declare function slot<Name extends string, Value>(name: Name, codec: Schema.Codec<Value, string>, options?: Omit<MaskSlot<Name, Value>, \"_tag\" | \"name\" | \"codec\">): MaskSlot<Name, Value>;"
    ],
    "summary": "Creates a named, Schema-decoded mask slot.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import { slot } from \"@typed/ui/Form\"\nimport { Schema } from \"effect\"\n\nconst areaCode = slot(\"area\", Schema.String, { length: 3, charset: /[0-9]/ })"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Form.ts",
      "line": 1094
    },
    "since": "1.0.0",
    "category": "Input codecs"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Form.slot",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Form",
    "qualifiedName": "Form.slot",
    "declarationKey": "declaration:9b06cb64ac96ff7f7f25c84a",
    "family": "function",
    "signatures": [
      "export declare function slot<Name extends string, Value>(name: Name, codec: Schema.Codec<Value, string>, options?: Omit<MaskSlot<Name, Value>, \"_tag\" | \"name\" | \"codec\">): MaskSlot<Name, Value>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 1094,
          "column": 1
        },
        "end": {
          "line": 1100,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/ui#Form.slot",
      "@typed/ui/Form#slot"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Form",
    "static": false,
    "importedFrom": "declaration:9b06cb64ac96ff7f7f25c84a"
  },
  "declaration": {
    "declarationKey": "declaration:9b06cb64ac96ff7f7f25c84a",
    "name": "slot",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function slot<Name extends string, Value>(name: Name, codec: Schema.Codec<Value, string>, options?: Omit<MaskSlot<Name, Value>, \"_tag\" | \"name\" | \"codec\">): MaskSlot<Name, Value>;"
        ],
        "typeParameters": [
          "Name extends string",
          "Value"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 1094,
              "column": 1
            },
            "end": {
              "line": 1100,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function slot<Name extends string, Value>(name: Name, codec: Schema.Codec<Value, string>, options?: Omit<MaskSlot<Name, Value>, \"_tag\" | \"name\" | \"codec\">): MaskSlot<Name, Value>;"
    ],
    "typeParameters": [
      "Name extends string",
      "Value"
    ],
    "summary": "Creates a named, Schema-decoded mask slot.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import { slot } from \"@typed/ui/Form\"\nimport { Schema } from \"effect\"\n\nconst areaCode = slot(\"area\", Schema.String, { length: 3, charset: /[0-9]/ })"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 1094,
          "column": 1
        },
        "end": {
          "line": 1100,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Input codecs"
  }
}
