declare type UnPromisify = T extends Promise ? U : T; declare type Patch = UnPromisify>['availablePatches'][0]; export declare function applyPatchFile(baseDir: string, patch: Patch, reverse?: boolean): any; export declare function applyPatches(rootDirectory: string, reverse?: boolean): Promise; export declare function getAvailablePatches(): Promise<{ baseDir: string; availablePatches: { fileName: string; details: { version: string; name: string; pathSpecifier: string; humanReadablePathSpecifier: string; packageNames: string[]; }; }[]; }>; export {};