import { ID } from "../../types/index.mjs"; import { StepContext, StepTicket } from "../../composables/createStep/index.mjs"; //#region src/components/Step/StepRoot.vue.d.ts interface StepRootProps { /** Namespace for dependency injection (must match StepItem namespace) */ namespace?: string; /** Disables the entire step instance */ disabled?: boolean; /** Auto-select non-disabled items on registration */ enroll?: boolean; /** * Controls mandatory step behavior: * - false (default): No mandatory step enforcement * - true: Prevents deselecting the last selected item * - `force`: Automatically selects the first non-disabled item on registration */ mandatory?: boolean | 'force'; } interface StepRootSlotProps { /** Whether the step instance is disabled */ isDisabled: boolean; /** Select the first item */ first: () => void; /** Select the last item */ last: () => void; /** Select the next item */ next: () => void; /** Select the previous item */ prev: () => void; /** Step forward or backward by a specific count */ step: (count: number) => void; /** Select an item by ID */ select: (id: ID) => void; /** Unselect an item by ID */ unselect: (id: ID) => void; /** Toggle an item's step state by ID */ toggle: (id: ID) => void; /** Attributes to bind to the root element */ attrs: { 'aria-multiselectable': false; }; } declare const useStepRoot: (key: string, defaultValue?: StepContext> | undefined) => StepContext>, provideStepRoot: (key: string, context: StepContext>, app?: import("vue").App) => StepContext>; declare const _default: typeof __VLS_export; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal<(StepRootProps & { modelValue?: T | T[]; }) & { "onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined; "onUpdate:model-value"?: ((value: T | T[]) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: StepRootSlotProps) => any; }; emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: T | T[] | undefined) => void); }>) => import("vue").VNode & { __ctx?: NonNullable>; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {}; //#endregion export { StepRootProps, StepRootSlotProps, _default as default, provideStepRoot, useStepRoot };