interface MutableSlot { current: T; } export interface StartPromptRefinementOptions { original: string; controller: AbortController; originalSlot: MutableSlot; abortSlot: MutableSlot; setStartedAt: (startedAt: number) => void; setBusy: (on: boolean) => void; clearDraft: () => void; prepareContext: () => Promise; fallbackContext: T; now?: () => number; } /** * Enter the visible refiner state synchronously, then perform optional async * context preparation. Nothing in `prepareContext` may delay acknowledgement * of the user's submit. */ export declare function startPromptRefinement(options: StartPromptRefinementOptions): Promise; export {}; //# sourceMappingURL=prompt-refinement-start.d.ts.map