export { buildExtractFinishLabel, buildSummaryFinishLabel, type ExtractDiagnosticsForFinishLine, } from "./finish-line-labels.js";
export { buildLengthPartsForFinishLine, type ExtractedForLengths } from "./finish-line-lengths.js";
export type FinishLineText = {
    line: string;
    details: string | null;
};
export type FinishLineModel = {
    lineParts: string[];
    detailParts: string[];
};
export declare function formatModelLabelForDisplay(model: string): string;
export declare function writeFinishLine({ stderr, elapsedMs, elapsedLabel, label, model, report, costUsd, detailed, extraParts, color, env, }: {
    stderr: NodeJS.WritableStream;
    elapsedMs: number;
    elapsedLabel?: string | null;
    label?: string | null;
    model: string | null;
    report: {
        llm: Array<{
            promptTokens: number | null;
            completionTokens: number | null;
            totalTokens: number | null;
            calls: number;
        }>;
        services: {
            firecrawl: {
                requests: number;
            };
            apify: {
                requests: number;
            };
        };
    };
    costUsd: number | null;
    detailed: boolean;
    extraParts?: string[] | null;
    color: boolean;
    env?: Record<string, string | undefined>;
}): void;
export declare function buildFinishLineText({ elapsedMs, elapsedLabel, label, model, report, costUsd, detailed, extraParts, }: {
    elapsedMs: number;
    elapsedLabel?: string | null;
    label?: string | null;
    model: string | null;
    report: {
        llm: Array<{
            promptTokens: number | null;
            completionTokens: number | null;
            totalTokens: number | null;
            calls: number;
        }>;
        services: {
            firecrawl: {
                requests: number;
            };
            apify: {
                requests: number;
            };
        };
    };
    costUsd: number | null;
    detailed: boolean;
    extraParts?: string[] | null;
}): FinishLineText;
export declare function buildFinishLineVariants({ elapsedMs, elapsedLabel, label, model, report, costUsd, compactExtraParts, detailedExtraParts, }: {
    elapsedMs: number;
    elapsedLabel?: string | null;
    label?: string | null;
    model: string | null;
    report: {
        llm: Array<{
            promptTokens: number | null;
            completionTokens: number | null;
            totalTokens: number | null;
            calls: number;
        }>;
        services: {
            firecrawl: {
                requests: number;
            };
            apify: {
                requests: number;
            };
        };
    };
    costUsd: number | null;
    compactExtraParts?: string[] | null;
    detailedExtraParts?: string[] | null;
}): {
    compact: FinishLineText;
    detailed: FinishLineText;
};
export declare function formatFinishLineText(model: FinishLineModel, detailed: boolean): FinishLineText;
export declare function buildFinishLineModel({ elapsedMs, elapsedLabel, label, model, report, costUsd, extraParts, }: {
    elapsedMs: number;
    elapsedLabel?: string | null;
    label?: string | null;
    model: string | null;
    report: {
        llm: Array<{
            promptTokens: number | null;
            completionTokens: number | null;
            totalTokens: number | null;
            calls: number;
        }>;
        services: {
            firecrawl: {
                requests: number;
            };
            apify: {
                requests: number;
            };
        };
    };
    costUsd: number | null;
    extraParts?: string[] | null;
}): FinishLineModel;
