import type { Config } from '../config/schema.js';
export declare function applyEdit(fileContent: string, oldText: string, newText: string): string | null;
export declare function runFixStep(tmpDir: string, baseRef: string, prTitle: string, reviewComment: string, instructions: string, config: Config, model?: string, timeoutMs?: number): Promise<{
    appliedCount: number;
    changedFiles: string[];
    tokensUsed?: number;
}>;
export declare function runCodexFixStep(tmpDir: string, baseRef: string, prTitle: string, reviewComment: string, instructions: string, model?: string, timeoutMs?: number): Promise<{
    appliedCount: number;
    changedFiles: string[];
    tokensUsed?: number;
}>;
//# sourceMappingURL=fix.d.ts.map