import type { SummaryStreamHandler } from "../../../engine/events.js";
import { type StreamOutputMode } from "../../stream-output.js";
export declare function createSlidesSummaryStreamHandler({ stdout, env, envForRun, plain, outputMode, clearProgressForStdout, restoreProgressAfterStdout, renderSlide, getSlideIndexOrder, getSlideMeta, debugWrite, }: {
    stdout: NodeJS.WritableStream;
    env: Record<string, string | undefined>;
    envForRun: Record<string, string | undefined>;
    plain: boolean;
    outputMode: StreamOutputMode;
    clearProgressForStdout: () => void;
    restoreProgressAfterStdout?: (() => void) | null;
    renderSlide: (index: number, title?: string | null) => Promise<void>;
    getSlideIndexOrder: () => number[];
    getSlideMeta?: ((index: number) => {
        total: number;
        timestamp: number | null;
    }) | null;
    debugWrite?: ((text: string) => void) | null;
}): SummaryStreamHandler;
