import { type Token } from "./tokenizer.js";
import type { Edit } from "./types.js";
export declare class Executor {
    #private;
    feed(token: Token): void;
    end(): {
        edits: Edit[];
        warnings: string[];
    };
    endStreaming(): {
        edits: Edit[];
        warnings: string[];
    };
    reset(): void;
}
export declare function parsePatch(diff: string): {
    edits: Edit[];
    warnings: string[];
};
export declare function parsePatchStreaming(diff: string): {
    edits: Edit[];
    warnings: string[];
};
//# sourceMappingURL=parser.d.ts.map