{
  "id": "@typed/ui/index#Composite.moveActiveId",
  "canonicalId": "@typed/ui/Composite#moveActiveId",
  "symbol": {
    "id": "@typed/ui/index#Composite.moveActiveId",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Composite.moveActiveId",
    "kind": "function",
    "signatures": [
      "export declare function moveActiveId<Item extends Collection.Item<unknown, object>>(items: readonly Item[], state: ActiveIdState, direction: Move, includeDisabled?: boolean): string | null;"
    ],
    "summary": "Returns the id reached by first/last/next/previous with optional disabled inclusion and loop\npolicy.",
    "sections": {
      "Why": "Separating this deterministic policy from event wiring lets applications test it directly and\nreuse it in custom composites.",
      "Ownership and lifetime": "This is a synchronous calculation. It acquires no resources and does not mutate the input array,\nstate, event, or DOM."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import * as Composite from \"@typed/ui/Composite\";\n\nconst id = Composite.moveActiveId([{ id: \"a\" }, { id: \"b\" }], { activeId: \"a\", loop: true }, \"next\");"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Composite.ts",
      "line": 1002
    },
    "since": "1.0.0",
    "category": "Directional movement"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Composite.moveActiveId",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Composite",
    "qualifiedName": "Composite.moveActiveId",
    "declarationKey": "declaration:078acf15bcb5a98bbaefb270",
    "family": "function",
    "signatures": [
      "export declare function moveActiveId<Item extends Collection.Item<unknown, object>>(items: readonly Item[], state: ActiveIdState, direction: Move, includeDisabled?: boolean): string | null;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 1002,
          "column": 1
        },
        "end": {
          "line": 1009,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/ui#Composite.moveActiveId",
      "@typed/ui/Composite#moveActiveId"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Composite",
    "static": false,
    "importedFrom": "declaration:078acf15bcb5a98bbaefb270"
  },
  "declaration": {
    "declarationKey": "declaration:078acf15bcb5a98bbaefb270",
    "name": "moveActiveId",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function moveActiveId<Item extends Collection.Item<unknown, object>>(items: readonly Item[], state: ActiveIdState, direction: Move, includeDisabled?: boolean): string | null;"
        ],
        "typeParameters": [
          "Item extends Collection.Item<unknown, object>"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 1002,
              "column": 1
            },
            "end": {
              "line": 1009,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function moveActiveId<Item extends Collection.Item<unknown, object>>(items: readonly Item[], state: ActiveIdState, direction: Move, includeDisabled?: boolean): string | null;"
    ],
    "typeParameters": [
      "Item extends Collection.Item<unknown, object>"
    ],
    "summary": "Returns the id reached by first/last/next/previous with optional disabled inclusion and loop\npolicy.",
    "sections": {
      "Why": "Separating this deterministic policy from event wiring lets applications test it directly and\nreuse it in custom composites.",
      "Ownership and lifetime": "This is a synchronous calculation. It acquires no resources and does not mutate the input array,\nstate, event, or DOM."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import * as Composite from \"@typed/ui/Composite\";\n\nconst id = Composite.moveActiveId([{ id: \"a\" }, { id: \"b\" }], { activeId: \"a\", loop: true }, \"next\");"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 1002,
          "column": 1
        },
        "end": {
          "line": 1009,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Directional movement"
  }
}
