import type { AssistantMessage } from "@earendil-works/pi-ai";
import type { AssistantMessageComponent } from "./components/assistant-message.ts";
export * from "./streaming-reveal-content.ts";
export * from "./streaming-reveal-pacing.ts";
type StreamingRevealComponent = Pick<AssistantMessageComponent, "updateContent">;
export type StreamingRevealControllerOptions = {
    readonly getSmoothStreaming: () => boolean;
    readonly getSmoothStreamingFps: () => number;
    readonly getHideThinkingBlock: () => boolean;
    readonly requestRender: () => void;
};
export declare class StreamingRevealController {
    #private;
    constructor(options: StreamingRevealControllerOptions);
    begin(component: StreamingRevealComponent, message: AssistantMessage): void;
    setTarget(message: AssistantMessage): void;
    resyncVisibility(): void;
    /**
     * True while this controller is the pacing writer for the given head message:
     * smooth streaming is on, the head carries no toolCall block (those dump in
     * full), and a component is still bound (before stop()). While true, callers
     * must not overwrite the component's content, or the next reveal tick
     * repaints a shorter prefix after their full write (dual-write flicker).
     */
    isPacingHead(message: AssistantMessage): boolean;
    stop(): void;
}
//# sourceMappingURL=streaming-reveal.d.ts.map