export interface Patch { id: string; filePath: string; line: number; errorCode: string; errorMsg: string; explanation: string; patch: string; fileBefore: string; fileAfter: string; timestamp: number; status: 'pending' | 'applied' | 'discarded'; } export declare function savePatch(meta: Omit): Patch; export declare function listPatches(status?: Patch['status']): Patch[]; export declare function getPatch(id: string): Patch | null; export declare function applyPatch(id: string): { success: boolean; message: string; }; export declare function discardPatch(id: string): { success: boolean; message: string; }; export declare function countPending(): number; //# sourceMappingURL=PatchStore.d.ts.map