import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; //#region src/components/Kanban/KanbanItem.vue.d.ts type KanbanItemState = 'grabbed' | 'dragging' | 'idle'; type KanbanItemDrop = 'before' | 'after'; interface KanbanItemProps extends AtomProps { /** The item's value — must be an entry of the parent Column's v-model */ value: T; /** Accessible name used in move announcements */ label?: string; /** Prevent this item from being moved */ disabled?: boolean; /** Namespace for context injection from Kanban.Root */ namespace?: string; } interface KanbanItemSlotProps { /** 0-based position in the column */ index: number; /** Interaction state */ state: KanbanItemState; /** Whether the item is picked up by keyboard */ isGrabbed: boolean; /** Whether the item is being dragged by pointer */ isDragging: boolean; /** Whether the item cannot be moved */ isDisabled: boolean; /** Side of this item a pending keyboard or pointer drop is anchored to */ drop: KanbanItemDrop | undefined; /** Attributes to bind to the item element */ attrs: { 'role': 'listitem'; 'tabindex': 0 | -1; 'aria-roledescription': string; 'aria-describedby': string | undefined; 'aria-disabled': boolean; 'aria-posinset': number; 'aria-setsize': number; 'data-state': KanbanItemState; 'data-disabled': true | undefined; 'data-drop': KanbanItemDrop | undefined; 'onKeydown': (e: KeyboardEvent) => void; 'onBlur': (e: FocusEvent) => void; }; } 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> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: KanbanItemSlotProps) => any; }; emit: {}; }>) => 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 { KanbanItemDrop, KanbanItemProps, KanbanItemSlotProps, KanbanItemState, _default as default };