{
  "id": "@typed/ui/index#Composite.KeyboardEventLike",
  "canonicalId": "@typed/ui/Composite#KeyboardEventLike",
  "symbol": {
    "id": "@typed/ui/index#Composite.KeyboardEventLike",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Composite.KeyboardEventLike",
    "kind": "interface",
    "signatures": [
      "export interface KeyboardEventLike {\n    readonly key: string;\n    readonly altKey?: boolean;\n    readonly ctrlKey?: boolean;\n    readonly metaKey?: boolean;\n    preventDefault?: () => void;\n}"
    ],
    "summary": "Public Composite.KeyboardEventLike behavioral model.",
    "sections": {
      "Why": "The public model lets custom composites reuse Composite's deterministic policy without copying\nan internal shape.",
      "Ownership and lifetime": "This declaration is data or schema metadata and acquires no resources.",
      "Example": "Import with `import type { KeyboardEventLike } from \"@typed/ui/Composite\";` Extend the\n[Composite.makeState runnable setup](/reference/%40typed%2Fui%2FComposite%23makeState). Custom\nkeyboard adapters need only the modeled surface:\n`const event: KeyboardEventLike = { key: \"ArrowDown\", preventDefault() {} }`.",
      "Property: altKey": "Whether Alt modified the key event.",
      "Property: ctrlKey": "Whether Control modified the key event.",
      "Property: key": "Native KeyboardEvent key value to interpret.",
      "Property: metaKey": "Whether Meta modified the key event.",
      "Property: preventDefault": "Optional native-event callback invoked only for an internally handled key."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Composite.ts",
      "line": 285
    },
    "since": "1.0.0",
    "category": "Keyboard navigation"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Composite.KeyboardEventLike",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Composite",
    "qualifiedName": "Composite.KeyboardEventLike",
    "declarationKey": "declaration:8f93e538fa2827f3685ae6eb",
    "family": "interface",
    "signatures": [
      "export interface KeyboardEventLike {\n    readonly key: string;\n    readonly altKey?: boolean;\n    readonly ctrlKey?: boolean;\n    readonly metaKey?: boolean;\n    preventDefault?: () => void;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 285,
          "column": 1
        },
        "end": {
          "line": 316,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 297,
          "column": 3
        },
        "end": {
          "line": 297,
          "column": 29
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 303,
          "column": 3
        },
        "end": {
          "line": 303,
          "column": 30
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 291,
          "column": 3
        },
        "end": {
          "line": 291,
          "column": 24
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 309,
          "column": 3
        },
        "end": {
          "line": 309,
          "column": 30
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 315,
          "column": 3
        },
        "end": {
          "line": 315,
          "column": 31
        }
      }
    ],
    "aliases": [
      "@typed/ui#Composite.KeyboardEventLike",
      "@typed/ui/Composite#KeyboardEventLike"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Composite",
    "static": false,
    "importedFrom": "declaration:8f93e538fa2827f3685ae6eb"
  },
  "declaration": {
    "declarationKey": "declaration:8f93e538fa2827f3685ae6eb",
    "name": "KeyboardEventLike",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface KeyboardEventLike {\n    readonly key: string;\n    readonly altKey?: boolean;\n    readonly ctrlKey?: boolean;\n    readonly metaKey?: boolean;\n    preventDefault?: () => void;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 285,
              "column": 1
            },
            "end": {
              "line": 316,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly altKey?: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 297,
              "column": 3
            },
            "end": {
              "line": 297,
              "column": 29
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly ctrlKey?: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 303,
              "column": 3
            },
            "end": {
              "line": 303,
              "column": 30
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly key: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 291,
              "column": 3
            },
            "end": {
              "line": 291,
              "column": 24
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly metaKey?: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 309,
              "column": 3
            },
            "end": {
              "line": 309,
              "column": 30
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "preventDefault?: () => void;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 315,
              "column": 3
            },
            "end": {
              "line": 315,
              "column": 31
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": true
      }
    ],
    "signatures": [
      "export interface KeyboardEventLike {\n    readonly key: string;\n    readonly altKey?: boolean;\n    readonly ctrlKey?: boolean;\n    readonly metaKey?: boolean;\n    preventDefault?: () => void;\n}"
    ],
    "typeParameters": [],
    "summary": "Public Composite.KeyboardEventLike behavioral model.",
    "sections": {
      "Why": "The public model lets custom composites reuse Composite's deterministic policy without copying\nan internal shape.",
      "Ownership and lifetime": "This declaration is data or schema metadata and acquires no resources.",
      "Example": "Import with `import type { KeyboardEventLike } from \"@typed/ui/Composite\";` Extend the\n[Composite.makeState runnable setup](/reference/%40typed%2Fui%2FComposite%23makeState). Custom\nkeyboard adapters need only the modeled surface:\n`const event: KeyboardEventLike = { key: \"ArrowDown\", preventDefault() {} }`.",
      "Property: altKey": "Whether Alt modified the key event.",
      "Property: ctrlKey": "Whether Control modified the key event.",
      "Property: key": "Native KeyboardEvent key value to interpret.",
      "Property: metaKey": "Whether Meta modified the key event.",
      "Property: preventDefault": "Optional native-event callback invoked only for an internally handled key."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 285,
          "column": 1
        },
        "end": {
          "line": 316,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 297,
          "column": 3
        },
        "end": {
          "line": 297,
          "column": 29
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 303,
          "column": 3
        },
        "end": {
          "line": 303,
          "column": 30
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 291,
          "column": 3
        },
        "end": {
          "line": 291,
          "column": 24
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 309,
          "column": 3
        },
        "end": {
          "line": 309,
          "column": 30
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 315,
          "column": 3
        },
        "end": {
          "line": 315,
          "column": 31
        }
      }
    ],
    "since": "1.0.0",
    "category": "Keyboard navigation"
  }
}
