import type { SupportBundleFiles } from '../onboarding-support.js';
export interface PrepareBuildSupportLogBundleInput {
    appId: string;
    jobId: string;
    internalLogPath?: string | null;
    outputDir?: string;
}
export interface PrepareBuildSupportLogBundleDependencies {
    readCapturedLog: (jobId: string) => Promise<string>;
    readInternalLog: (path: string) => Promise<string>;
}
/**
 * Drain the ordered Builder-log write queue before rendering a support bundle.
 * The Builder log is required diagnostic input: unlike the optional internal
 * log, a capture/read failure rejects instead of producing a misleading empty
 * `Recent logs` section.
 */
export declare function prepareBuildSupportLogBundle(input: PrepareBuildSupportLogBundleInput, dependencies?: PrepareBuildSupportLogBundleDependencies): Promise<SupportBundleFiles | null>;
