import { DragDropAdapter, DragDropAdapterContext } from "./adapter.mjs"; import { DragType } from "../index.mjs"; //#region src/composables/useDragDrop/adapters/keyboard.d.ts interface KeyboardAdapterOptions { /** Activation keys (default [' ', 'Enter']). */ activate?: string[]; /** Step size in px for arrow-key moves (default 16). */ step?: number; } /** * Default keyboard adapter. Listens for `keydown` on the document; activation * keys start/drop drags, arrow keys nudge the drag point, Escape cancels. * * @example * ```ts * import { KeyboardAdapter, useDragDrop } from '@vuetify/v0' * * useDragDrop({ adapters: [new KeyboardAdapter({ activate: ['x'], step: 32 })] }) * ``` */ declare class KeyboardAdapter extends DragDropAdapter { private activate; private step; constructor(options?: KeyboardAdapterOptions); setup(context: DragDropAdapterContext): void; } //#endregion export { KeyboardAdapter, KeyboardAdapterOptions };