1 | declare type UnPromisify<T> = T extends Promise<infer U> ? U : T;
|
2 | declare type Patch = UnPromisify<ReturnType<typeof getAvailablePatches>>['availablePatches'][0];
|
3 | export declare function applyPatchFile(baseDir: string, patch: Patch, reverse?: boolean): any;
|
4 | export declare function applyPatches(rootDirectory: string, reverse?: boolean): Promise<void>;
|
5 | export declare function getAvailablePatches(): Promise<{
|
6 | baseDir: string;
|
7 | availablePatches: {
|
8 | fileName: string;
|
9 | details: {
|
10 | version: string;
|
11 | name: string;
|
12 | pathSpecifier: string;
|
13 | humanReadablePathSpecifier: string;
|
14 | packageNames: string[];
|
15 | };
|
16 | }[];
|
17 | }>;
|
18 | export {};
|