UNPKG

3.14 kBTypeScriptView Raw
1import { MkdirpOptions } from './opts-arg.js';
2export { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js';
3export { mkdirpNative, mkdirpNativeSync } from './mkdirp-native.js';
4export { useNative, useNativeSync } from './use-native.js';
5export declare const mkdirpSync: (path: string, opts?: MkdirpOptions) => string | void;
6export declare const sync: (path: string, opts?: MkdirpOptions) => string | void;
7export declare const manual: ((path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => Promise<string | void | undefined>) & {
8 sync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
9};
10export declare const manualSync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
11export declare const native: ((path: string, options?: MkdirpOptions | undefined) => Promise<string | void | undefined>) & {
12 sync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
13};
14export declare const nativeSync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
15export declare const mkdirp: ((path: string, opts?: MkdirpOptions) => Promise<string | void | undefined>) & {
16 mkdirpSync: (path: string, opts?: MkdirpOptions) => string | void;
17 mkdirpNative: ((path: string, options?: MkdirpOptions | undefined) => Promise<string | void | undefined>) & {
18 sync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
19 };
20 mkdirpNativeSync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
21 mkdirpManual: ((path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => Promise<string | void | undefined>) & {
22 sync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
23 };
24 mkdirpManualSync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
25 sync: (path: string, opts?: MkdirpOptions) => string | void;
26 native: ((path: string, options?: MkdirpOptions | undefined) => Promise<string | void | undefined>) & {
27 sync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
28 };
29 nativeSync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
30 manual: ((path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => Promise<string | void | undefined>) & {
31 sync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
32 };
33 manualSync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
34 useNative: ((opts?: MkdirpOptions | undefined) => boolean) & {
35 sync: (opts?: MkdirpOptions | undefined) => boolean;
36 };
37 useNativeSync: (opts?: MkdirpOptions | undefined) => boolean;
38};
39//# sourceMappingURL=index.d.ts.map
\No newline at end of file