import { DOMElement, ID } from "../../types/index.mjs";
import "../../index.mjs";
import _default, { KanbanBoardColumn, KanbanColumnInput, KanbanDirection, KanbanDrag, KanbanGrab, KanbanMovePayload, KanbanOrientation, KanbanPointer, KanbanPosition, KanbanRootContext, KanbanRootEmits, KanbanRootProps, KanbanRootSlotProps, provideKanbanRoot, useKanbanRoot } from "./KanbanRoot.vue.mjs";
import _default$1, { KanbanColumnContext, KanbanColumnProps, KanbanColumnSlotProps, provideKanbanColumn, useKanbanColumn } from "./KanbanColumn.vue.mjs";
import _default$2, { KanbanListProps, KanbanListSlotProps } from "./KanbanList.vue.mjs";
import _default$3, { KanbanItemDrop, KanbanItemProps, KanbanItemSlotProps, KanbanItemState } from "./KanbanItem.vue.mjs";
import _default$4, { KanbanInstructionsProps, KanbanInstructionsSlotProps } from "./KanbanInstructions.vue.mjs";
import _default$5, { KanbanLiveRegionProps, KanbanLiveRegionSlotProps } from "./KanbanLiveRegion.vue.mjs";
//#region src/components/Kanban/index.d.ts
/**
* Kanban component with sub-components for building accessible boards of
* movable items in columns.
*
* A headless shell over `createKanban` (board state) and `useDragDrop`
* (pointer drag). Each Column binds its items with v-model; moves write the
* new order back. Items move by pointer drag or, without a pointer, by
* keyboard: Space or Enter picks an item up, arrow keys move a previewed drop
* target (skipping columns that refuse the item), Space or Enter commits one
* move, Escape discards it. Columns can veto incoming moves with `accept` and
* freeze with `disabled`.
*
* @see https://0.vuetifyjs.com/components/data/kanban
*
* @example
* ```vue
*
*
*
*
*
*
*
* {{ item }}
*
*
*
*
*
*
*
* {{ item }}
*
*
*
*
*
*
*
*
* ```
*/
declare const Kanban: {
/**
* Root of the board.
*
* Creates the `createKanban` board and the pointer drag-and-drop context,
* owns the keyboard pick-up / move / drop / cancel model, and emits `move`
* once per committed move.
*
* @see https://0.vuetifyjs.com/components/data/kanban
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
Root: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{
onMove?: ((payload: KanbanMovePayload) => any) | undefined;
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
move: (payload: KanbanMovePayload) => any;
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{
onMove?: ((payload: KanbanMovePayload) => any) | undefined;
}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{
onMove?: ((payload: KanbanMovePayload) => any) | undefined;
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
move: (payload: KanbanMovePayload) => any;
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: KanbanRootSlotProps) => any;
};
});
/**
* One column of the board.
*
* Registers a column and bridges its item list through v-model. Accepts
* `disabled` and an `accept(value, from, index)` predicate for incoming
* cross-column moves.
*
* @see https://0.vuetifyjs.com/components/data/kanban#anatomy
*
* @example
* ```vue
*
*
*
* {{ item }}
*
*
*
* ```
*/
Column: (__VLS_props: NonNullable>["props"], __VLS_ctx?: {
emit: ((evt: "update:model-value", value: T[]) => void) & ((event: "update:modelValue", value: T[]) => void);
attrs: any;
slots: {
default: (props: KanbanColumnSlotProps) => any;
};
}, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{
props: import("vue").PublicProps & {
id?: ID | undefined;
value?: unknown;
label?: string | undefined;
disabled?: boolean | undefined;
accept?: ((value: T, from: ID, index: number) => boolean) | undefined;
namespace?: string | undefined;
as?: (DOMElement | null) | undefined;
renderless?: boolean | undefined;
modelValue?: T[] | undefined;
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
"onUpdate:model-value"?: ((value: T[]) => any) | undefined;
} & (typeof globalThis extends {
__VLS_PROPS_FALLBACK: infer P;
} ? P : {});
expose: (exposed: {}) => void;
attrs: any;
slots: {
default: (props: KanbanColumnSlotProps) => any;
};
emit: ((evt: "update:model-value", value: T[]) => void) & ((event: "update:modelValue", value: T[]) => void);
}>) => import("vue").VNode & {
__ctx?: NonNullable>;
};
/**
* The drop zone holding a column's items.
*
* Must be the direct parent of the column's Kanban.Item elements. Exposes
* `data-over` while an accepted pointer drag hovers it.
*
* @see https://0.vuetifyjs.com/components/data/kanban#anatomy
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
List: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: KanbanListSlotProps) => any;
};
});
/**
* One movable item.
*
* Identified by `value`, which must match an entry of the parent
* Column's v-model. Exposes `data-state="grabbed" | "dragging" | "idle"`,
* and `data-drop="before" | "after"` on the card a pending keyboard or
* pointer drop is anchored to.
*
* @see https://0.vuetifyjs.com/components/data/kanban#keyboard-moves
*
* @example
* ```vue
*
*
* {{ card.title }}
*
*
* ```
*/
Item: (__VLS_props: NonNullable>["props"], __VLS_ctx?: {
emit: {};
attrs: any;
slots: {
default: (props: KanbanItemSlotProps) => any;
};
}, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{
props: import("vue").PublicProps & {
value: T;
label?: string | undefined;
disabled?: boolean | undefined;
namespace?: string | undefined;
as?: (DOMElement | null) | undefined;
renderless?: boolean | undefined;
} & (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>;
};
/**
* Keyboard instructions every Item references via `aria-describedby`.
*
* @see https://0.vuetifyjs.com/components/data/kanban#accessibility
*
* @example
* ```vue
*
*
*
* ```
*/
Instructions: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default?: (props: KanbanInstructionsSlotProps) => any;
};
});
/**
* Polite live region for pick-up, move, drop, cancel, and rejection
* announcements.
*
* @see https://0.vuetifyjs.com/components/data/kanban#accessibility
*
* @example
* ```vue
*
*
*
* ```
*/
LiveRegion: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default?: (props: KanbanLiveRegionSlotProps) => any;
};
});
};
//#endregion
export { Kanban, type KanbanBoardColumn, _default$1 as KanbanColumn, type KanbanColumnContext, type KanbanColumnInput, type KanbanColumnProps, type KanbanColumnSlotProps, type KanbanDirection, type KanbanDrag, type KanbanGrab, _default$4 as KanbanInstructions, type KanbanInstructionsProps, type KanbanInstructionsSlotProps, _default$3 as KanbanItem, type KanbanItemDrop, type KanbanItemProps, type KanbanItemSlotProps, type KanbanItemState, _default$2 as KanbanList, type KanbanListProps, type KanbanListSlotProps, _default$5 as KanbanLiveRegion, type KanbanLiveRegionProps, type KanbanLiveRegionSlotProps, type KanbanMovePayload, type KanbanOrientation, type KanbanPointer, type KanbanPosition, _default as KanbanRoot, type KanbanRootContext, type KanbanRootEmits, type KanbanRootProps, type KanbanRootSlotProps, provideKanbanColumn, provideKanbanRoot, useKanbanColumn, useKanbanRoot };