import type { createThemeRenderer } from "../../../tty/theme.js";
import { type UrlFlowContext } from "./types.js";
export declare function writeSlidesBackgroundFailureWarning({ ctx, theme, message, }: {
    ctx: Pick<UrlFlowContext, "io" | "flags" | "hooks">;
    theme: ReturnType<typeof createThemeRenderer>;
    message: string;
}): void;
export declare function createUrlFlowProgress({ ctx, theme, }: {
    ctx: UrlFlowContext;
    theme: ReturnType<typeof createThemeRenderer>;
}): {
    progressStatus: {
        setSummary(text: string, oscLabel?: string | null): void;
        setSlides(text: string, percent?: number | null): void;
        clearSlides(): void;
        isSlidesActive(): boolean;
        getSummaryText(): string | null;
        getSlidesText(): string | null;
    };
    hooks: import("./types.js").UrlFlowHooks;
    pauseProgress: () => () => void;
    renderStatus: (label: string, detail?: string) => string;
    renderStatusFromText: (text: string) => string;
    renderStatusWithMeta: (label: string, meta: string, suffix?: string) => string;
    spinner: {
        stop: () => void;
        clear: () => void;
        pause: () => void;
        refresh: () => void;
        resume: () => void;
        stopAndClear: () => void;
        setText: (next: string) => void;
    };
    styleDim: (text: string) => string;
    styleLabel: (text: string) => string;
    handleSigint: () => never;
    handleSigterm: () => never;
    stopProgress: () => void;
    websiteProgress: {
        stop: () => void;
        onProgress: (event: import("@steipete/summarize-core").LinkPreviewProgressEvent) => void;
    } | null;
};
