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