import type { TUI } from "@earendil-works/pi-tui";
export interface ExternalEditorHost {
    stop(): void;
    start(): void;
    requestRender(force?: boolean): void;
}
export interface ExternalEditorOptions {
    editorCommand?: string;
    showWarning?: (message: string) => void;
}
export interface ClipboardImageEditorOptions {
    showWarning?: (message: string) => void;
    cleanupDelayMs?: number;
}
export declare function cleanupStaleClipboardFiles(now?: number): void;
export declare function combineQueuedMessagesForEditor(queuedMessages: readonly string[], currentText: string): string;
export interface ClipboardImageEditorTarget {
    insertTextAtCursor?: (text: string) => void;
    getText?: () => string;
    setText?: (text: string) => void;
}
export declare function pasteClipboardImageToEditor(editor: ClipboardImageEditorTarget, requestRender?: () => void, options?: ClipboardImageEditorOptions): Promise<boolean>;
export declare function openExternalEditorForText(text: string, host: Pick<TUI, "stop" | "start" | "requestRender"> | ExternalEditorHost, options?: ExternalEditorOptions): string | undefined;
//# sourceMappingURL=chat-input-actions.d.ts.map