import { type ReactNode } from 'react'; export interface HelpMeWriteOverlayProps { open: boolean; onClose: () => void; onRequestAiDraft: (ctx: { prompt: string; signal: AbortSignal; }) => Promise; onInsert: (draft: string) => void; /** Preview + insert the draft as HTML (default) or plain text. */ previewAsHtml?: boolean; privacyNotice?: ReactNode; /** * Voice dictation into the prompt. Same seam as the editor's `onDictate`: * the consumer runs mic + transcription and pushes text back; the kit appends * finals to the prompt. When omitted, the composer shows no mic. */ onDictate?: (ctx: { signal: AbortSignal; onPartialTranscript: (text: string) => void; onFinalTranscript: (text: string) => void; }) => Promise; } /** Shared safe failure surface for requests made from the editor dock. */ export declare function EditorRequestError({ id }: { id?: string; }): React.JSX.Element; export declare function HelpMeWriteOverlay({ open, onClose, onRequestAiDraft, onInsert, previewAsHtml, privacyNotice, onDictate, }: HelpMeWriteOverlayProps): React.JSX.Element; //# sourceMappingURL=help-me-write-overlay.d.ts.map