import type { CliProvider, SummarizeConfig } from "./config.js";
export type ResolvedCliAutoFallbackConfig = {
    enabled: boolean;
    onlyWhenNoApiKeys: boolean;
    order: CliProvider[];
};
export declare function resolveCliAutoFallbackConfig(config: SummarizeConfig | null): ResolvedCliAutoFallbackConfig;
export declare function prependCliCandidates({ candidates, config, env, isImplicitAutoSelection, allowAutoCliFallback, lastSuccessfulCliProvider, }: {
    candidates: string[];
    config: SummarizeConfig | null;
    env: Record<string, string | undefined>;
    isImplicitAutoSelection: boolean;
    allowAutoCliFallback: boolean;
    lastSuccessfulCliProvider: CliProvider | null;
}): string[];
