UNPKG

3.45 kBTypeScriptView Raw
1import { RimrafAsyncOptions, RimrafSyncOptions } from './opt-arg.js';
2export { assertRimrafOptions, isRimrafOptions, type RimrafAsyncOptions, type RimrafOptions, type RimrafSyncOptions, } from './opt-arg.js';
3export declare const nativeSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
4export declare const native: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
5 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
6};
7export declare const manualSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
8export declare const manual: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
9 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
10};
11export declare const windowsSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
12export declare const windows: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
13 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
14};
15export declare const posixSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
16export declare const posix: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
17 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
18};
19export declare const moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
20export declare const moveRemove: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
21 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
22};
23export declare const rimrafSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
24export declare const sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
25export declare const rimraf: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
26 rimraf: (path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>;
27 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
28 rimrafSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
29 manual: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
30 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
31 };
32 manualSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
33 native: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
34 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
35 };
36 nativeSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
37 posix: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
38 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
39 };
40 posixSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
41 windows: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
42 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
43 };
44 windowsSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
45 moveRemove: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
46 sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
47 };
48 moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
49};
50//# sourceMappingURL=index.d.ts.map
\No newline at end of file