import { SchedulerEventCreationConfig } from "../../models/index.mjs"; import type { CreationPlaceholderFields } from "./useEventCreation.mjs"; interface GetKeyboardCreationPlaceholderParams { creationConfig: SchedulerEventCreationConfig; } /** * Hook that returns a function to trigger event creation via keyboard (Enter key). * Returns `undefined` when event creation is disabled. * * This is the keyboard counterpart of `useEventCreation` (which handles mouse clicks). * Both call `store.setOccurrencePlaceholder` with the same `type: 'creation'` placeholder. */ export declare function useKeyboardEventCreation(getCreationPlaceholder: (params: GetKeyboardCreationPlaceholderParams) => CreationPlaceholderFields): (() => void) | undefined; export {};