import type { DocumentNode } from '@prezly/slate-types'; import type { SlateEditor } from '@udecode/plate-common'; interface State { isOpen: boolean; } interface Actions { close: () => void; open: () => void; rootClose: () => void; submit: (node: DocumentNode) => void; } export declare function useFloatingSnippetInput(editor: SlateEditor): [State, Actions]; export {};