{
  "id": "@typed/ui/Composite#ActiveIdState",
  "canonicalId": "@typed/ui/Composite#ActiveIdState",
  "symbol": {
    "id": "@typed/ui/Composite#ActiveIdState",
    "packageName": "@typed/ui",
    "moduleName": "Composite",
    "exportName": "ActiveIdState",
    "kind": "interface",
    "signatures": [
      "export interface ActiveIdState {\n    readonly activeId: string | null;\n    readonly loop: boolean;\n}"
    ],
    "summary": "Public Composite.ActiveIdState 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 { ActiveIdState } from \"@typed/ui/Composite\";` Extend the\n[Composite.makeState runnable setup](/reference/%40typed%2Fui%2FComposite%23makeState). A\ncompatible focus state is observable directly: `const active: ActiveIdState = yield* state`.",
      "Property: activeId": "Id currently active for keyboard navigation; null means no active item.",
      "Property: loop": "Whether movement wraps between the first and last enabled items."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Composite.ts",
      "line": 248
    },
    "since": "1.0.0",
    "category": "Active item state"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/Composite#ActiveIdState",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Composite",
    "consumerSpecifier": "@typed/ui/Composite",
    "exportName": "ActiveIdState",
    "qualifiedName": "ActiveIdState",
    "declarationKey": "declaration:843cb5327ba937a61fa3d0ca",
    "family": "interface",
    "signatures": [
      "export interface ActiveIdState {\n    readonly activeId: string | null;\n    readonly loop: boolean;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 248,
          "column": 1
        },
        "end": {
          "line": 261,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 254,
          "column": 3
        },
        "end": {
          "line": 254,
          "column": 36
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 260,
          "column": 3
        },
        "end": {
          "line": 260,
          "column": 26
        }
      }
    ],
    "aliases": [
      "@typed/ui#Composite.ActiveIdState",
      "@typed/ui/index#Composite.ActiveIdState"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:843cb5327ba937a61fa3d0ca",
    "name": "ActiveIdState",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface ActiveIdState {\n    readonly activeId: string | null;\n    readonly loop: boolean;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 248,
              "column": 1
            },
            "end": {
              "line": 261,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly activeId: string | null;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 254,
              "column": 3
            },
            "end": {
              "line": 254,
              "column": 36
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly loop: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 260,
              "column": 3
            },
            "end": {
              "line": 260,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface ActiveIdState {\n    readonly activeId: string | null;\n    readonly loop: boolean;\n}"
    ],
    "typeParameters": [],
    "summary": "Public Composite.ActiveIdState 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 { ActiveIdState } from \"@typed/ui/Composite\";` Extend the\n[Composite.makeState runnable setup](/reference/%40typed%2Fui%2FComposite%23makeState). A\ncompatible focus state is observable directly: `const active: ActiveIdState = yield* state`.",
      "Property: activeId": "Id currently active for keyboard navigation; null means no active item.",
      "Property: loop": "Whether movement wraps between the first and last enabled items."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 248,
          "column": 1
        },
        "end": {
          "line": 261,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 254,
          "column": 3
        },
        "end": {
          "line": 254,
          "column": 36
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 260,
          "column": 3
        },
        "end": {
          "line": 260,
          "column": 26
        }
      }
    ],
    "since": "1.0.0",
    "category": "Active item state"
  }
}
