1 | import { Minipass } from 'minipass';
|
2 | import { Path } from 'path-scurry';
|
3 | import type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset } from './glob.js';
|
4 | import { Glob } from './glob.js';
|
5 | export { escape, unescape } from 'minimatch';
|
6 | export type { FSOption, Path, WalkOptions, WalkOptionsWithFileTypesTrue, WalkOptionsWithFileTypesUnset, } from 'path-scurry';
|
7 | export { Glob } from './glob.js';
|
8 | export type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset, } from './glob.js';
|
9 | export { hasMagic } from './has-magic.js';
|
10 | export { Ignore } from './ignore.js';
|
11 | export type { IgnoreLike } from './ignore.js';
|
12 | export type { MatchStream } from './walker.js';
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function globStreamSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Minipass<Path, Path>;
|
19 | export declare function globStreamSync(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): Minipass<string, string>;
|
20 | export declare function globStreamSync(pattern: string | string[], options: GlobOptionsWithFileTypesUnset): Minipass<string, string>;
|
21 | export declare function globStreamSync(pattern: string | string[], options: GlobOptions): Minipass<Path, Path> | Minipass<string, string>;
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | export declare function globStream(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): Minipass<string, string>;
|
27 | export declare function globStream(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Minipass<Path, Path>;
|
28 | export declare function globStream(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): Minipass<string, string>;
|
29 | export declare function globStream(pattern: string | string[], options: GlobOptions): Minipass<Path, Path> | Minipass<string, string>;
|
30 |
|
31 |
|
32 |
|
33 | export declare function globSync(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): string[];
|
34 | export declare function globSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Path[];
|
35 | export declare function globSync(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): string[];
|
36 | export declare function globSync(pattern: string | string[], options: GlobOptions): Path[] | string[];
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 | declare function glob_(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): Promise<string[]>;
|
44 | declare function glob_(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Promise<Path[]>;
|
45 | declare function glob_(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): Promise<string[]>;
|
46 | declare function glob_(pattern: string | string[], options: GlobOptions): Promise<Path[] | string[]>;
|
47 |
|
48 |
|
49 |
|
50 | export declare function globIterateSync(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): Generator<string, void, void>;
|
51 | export declare function globIterateSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Generator<Path, void, void>;
|
52 | export declare function globIterateSync(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): Generator<string, void, void>;
|
53 | export declare function globIterateSync(pattern: string | string[], options: GlobOptions): Generator<Path, void, void> | Generator<string, void, void>;
|
54 |
|
55 |
|
56 |
|
57 | export declare function globIterate(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): AsyncGenerator<string, void, void>;
|
58 | export declare function globIterate(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): AsyncGenerator<Path, void, void>;
|
59 | export declare function globIterate(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): AsyncGenerator<string, void, void>;
|
60 | export declare function globIterate(pattern: string | string[], options: GlobOptions): AsyncGenerator<Path, void, void> | AsyncGenerator<string, void, void>;
|
61 | export declare const streamSync: typeof globStreamSync;
|
62 | export declare const stream: typeof globStream & {
|
63 | sync: typeof globStreamSync;
|
64 | };
|
65 | export declare const iterateSync: typeof globIterateSync;
|
66 | export declare const iterate: typeof globIterate & {
|
67 | sync: typeof globIterateSync;
|
68 | };
|
69 | export declare const sync: typeof globSync & {
|
70 | stream: typeof globStreamSync;
|
71 | iterate: typeof globIterateSync;
|
72 | };
|
73 | export declare const glob: typeof glob_ & {
|
74 | glob: typeof glob_;
|
75 | globSync: typeof globSync;
|
76 | sync: typeof globSync & {
|
77 | stream: typeof globStreamSync;
|
78 | iterate: typeof globIterateSync;
|
79 | };
|
80 | globStream: typeof globStream;
|
81 | stream: typeof globStream & {
|
82 | sync: typeof globStreamSync;
|
83 | };
|
84 | globStreamSync: typeof globStreamSync;
|
85 | streamSync: typeof globStreamSync;
|
86 | globIterate: typeof globIterate;
|
87 | iterate: typeof globIterate & {
|
88 | sync: typeof globIterateSync;
|
89 | };
|
90 | globIterateSync: typeof globIterateSync;
|
91 | iterateSync: typeof globIterateSync;
|
92 | Glob: typeof Glob;
|
93 | hasMagic: (pattern: string | string[], options?: GlobOptions) => boolean;
|
94 | escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape">) => string;
|
95 | unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape">) => string;
|
96 | };
|
97 |
|
\ | No newline at end of file |