import type { ControlConfig } from "./types"; export type ControlStackItem = ControlConfig | undefined; /** * Builds an ordered control stack from explicit control handles. * * The array order is the rendered order. Optional controls can be passed as * `undefined`; duplicate ids are rejected because they would produce unstable * React keys and ambiguous control identity. */ export declare const defineControlStack: (controls: ReadonlyArray) => ReadonlyArray;