/** * Submit handling aligned with openclaw: `!` local shell lines + paste burst coalescing * for terminals that split multiline paste into rapid single-line submits. */ export declare function createEditorSubmitHandler(params: { editor: { setText: (value: string) => void; addToHistory: (value: string) => void; }; recordChatHistory?: (value: string) => void; handleCommand: (value: string) => void | Promise; sendMessage: (value: string) => void | Promise; handleBangLine: (value: string) => void | Promise; getMode?: () => 'chat' | 'shell'; enterShellMode?: () => void; exitShellMode?: () => void; isAgentBusy?: () => boolean; steerWhileBusy?: (value: string) => void | Promise; hasPendingAttachments?: () => boolean; defaultAttachmentMessage?: string; }): (text: string) => void; export declare function shouldEnableWindowsGitBashPasteFallback(params?: { platform?: string; env?: NodeJS.ProcessEnv; }): boolean; export declare function createSubmitBurstCoalescer(params: { submit: (value: string) => void; enabled: boolean; burstWindowMs?: number; now?: () => number; setTimer?: typeof setTimeout; clearTimer?: typeof clearTimeout; }): (value: string) => void;