import type { Config } from '../config/schema.js';
import { type DiagnoseReport } from './diagnose.js';
type Agent = 'claude' | 'codex';
export declare function selectOptimizeAgent(config: Config, report: DiagnoseReport): {
    agent: Agent;
    reason: string;
};
export declare function runOptimize(opts: {
    apply?: boolean;
    dryRun?: boolean;
    since?: string;
    agent?: string;
    config?: string;
}): Promise<void>;
export {};
//# sourceMappingURL=optimize.d.ts.map