import { Signal } from '@tempots/dom';
import type { LexicalEditor } from 'lexical';
export interface BlockCommand {
    id: string;
    label: string;
    icon: string;
    handler: (editor: LexicalEditor) => void;
}
export declare const DEFAULT_BLOCK_COMMANDS: BlockCommand[];
export interface BlockHandleOptions {
    editor: Signal<LexicalEditor | null>;
    stateUpdate: Signal<number>;
    readOnly?: Signal<boolean>;
    commands?: BlockCommand[];
}
export declare function BlockHandle({ editor, stateUpdate, readOnly, commands, }: BlockHandleOptions): import("@tempots/dom").Renderable;
