import { BlockNoteEditor } from "@blocknote/core";
import { AIRequest, DocumentStateBuilder, StreamToolsProvider } from "../index.js";
export declare function buildAIRequest(opts: {
    editor: BlockNoteEditor<any, any, any>;
    useSelection?: boolean;
    deleteEmptyCursorBlock?: boolean;
    streamToolsProvider?: StreamToolsProvider<any, any>;
    onBlockUpdated?: (blockId: string) => void;
    onStart?: () => void;
    documentStateBuilder?: DocumentStateBuilder<any>;
}): Promise<AIRequest>;
