11cb0ef41Sopenharmony_ciimport { AST } from './ast.js';
21cb0ef41Sopenharmony_citype Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';
31cb0ef41Sopenharmony_ciexport interface MinimatchOptions {
41cb0ef41Sopenharmony_ci    nobrace?: boolean;
51cb0ef41Sopenharmony_ci    nocomment?: boolean;
61cb0ef41Sopenharmony_ci    nonegate?: boolean;
71cb0ef41Sopenharmony_ci    debug?: boolean;
81cb0ef41Sopenharmony_ci    noglobstar?: boolean;
91cb0ef41Sopenharmony_ci    noext?: boolean;
101cb0ef41Sopenharmony_ci    nonull?: boolean;
111cb0ef41Sopenharmony_ci    windowsPathsNoEscape?: boolean;
121cb0ef41Sopenharmony_ci    allowWindowsEscape?: boolean;
131cb0ef41Sopenharmony_ci    partial?: boolean;
141cb0ef41Sopenharmony_ci    dot?: boolean;
151cb0ef41Sopenharmony_ci    nocase?: boolean;
161cb0ef41Sopenharmony_ci    nocaseMagicOnly?: boolean;
171cb0ef41Sopenharmony_ci    magicalBraces?: boolean;
181cb0ef41Sopenharmony_ci    matchBase?: boolean;
191cb0ef41Sopenharmony_ci    flipNegate?: boolean;
201cb0ef41Sopenharmony_ci    preserveMultipleSlashes?: boolean;
211cb0ef41Sopenharmony_ci    optimizationLevel?: number;
221cb0ef41Sopenharmony_ci    platform?: Platform;
231cb0ef41Sopenharmony_ci    windowsNoMagicRoot?: boolean;
241cb0ef41Sopenharmony_ci}
251cb0ef41Sopenharmony_ciexport declare const minimatch: {
261cb0ef41Sopenharmony_ci    (p: string, pattern: string, options?: MinimatchOptions): boolean;
271cb0ef41Sopenharmony_ci    sep: Sep;
281cb0ef41Sopenharmony_ci    GLOBSTAR: typeof GLOBSTAR;
291cb0ef41Sopenharmony_ci    filter: (pattern: string, options?: MinimatchOptions) => (p: string) => boolean;
301cb0ef41Sopenharmony_ci    defaults: (def: MinimatchOptions) => typeof minimatch;
311cb0ef41Sopenharmony_ci    braceExpand: (pattern: string, options?: MinimatchOptions) => string[];
321cb0ef41Sopenharmony_ci    makeRe: (pattern: string, options?: MinimatchOptions) => false | MMRegExp;
331cb0ef41Sopenharmony_ci    match: (list: string[], pattern: string, options?: MinimatchOptions) => string[];
341cb0ef41Sopenharmony_ci    AST: typeof AST;
351cb0ef41Sopenharmony_ci    Minimatch: typeof Minimatch;
361cb0ef41Sopenharmony_ci    escape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape">) => string;
371cb0ef41Sopenharmony_ci    unescape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape">) => string;
381cb0ef41Sopenharmony_ci};
391cb0ef41Sopenharmony_citype Sep = '\\' | '/';
401cb0ef41Sopenharmony_ciexport declare const sep: Sep;
411cb0ef41Sopenharmony_ciexport declare const GLOBSTAR: unique symbol;
421cb0ef41Sopenharmony_ciexport declare const filter: (pattern: string, options?: MinimatchOptions) => (p: string) => boolean;
431cb0ef41Sopenharmony_ciexport declare const defaults: (def: MinimatchOptions) => typeof minimatch;
441cb0ef41Sopenharmony_ciexport declare const braceExpand: (pattern: string, options?: MinimatchOptions) => string[];
451cb0ef41Sopenharmony_ciexport declare const makeRe: (pattern: string, options?: MinimatchOptions) => false | MMRegExp;
461cb0ef41Sopenharmony_ciexport declare const match: (list: string[], pattern: string, options?: MinimatchOptions) => string[];
471cb0ef41Sopenharmony_ciexport type MMRegExp = RegExp & {
481cb0ef41Sopenharmony_ci    _src?: string;
491cb0ef41Sopenharmony_ci    _glob?: string;
501cb0ef41Sopenharmony_ci};
511cb0ef41Sopenharmony_ciexport type ParseReturnFiltered = string | MMRegExp | typeof GLOBSTAR;
521cb0ef41Sopenharmony_ciexport type ParseReturn = ParseReturnFiltered | false;
531cb0ef41Sopenharmony_ciexport declare class Minimatch {
541cb0ef41Sopenharmony_ci    options: MinimatchOptions;
551cb0ef41Sopenharmony_ci    set: ParseReturnFiltered[][];
561cb0ef41Sopenharmony_ci    pattern: string;
571cb0ef41Sopenharmony_ci    windowsPathsNoEscape: boolean;
581cb0ef41Sopenharmony_ci    nonegate: boolean;
591cb0ef41Sopenharmony_ci    negate: boolean;
601cb0ef41Sopenharmony_ci    comment: boolean;
611cb0ef41Sopenharmony_ci    empty: boolean;
621cb0ef41Sopenharmony_ci    preserveMultipleSlashes: boolean;
631cb0ef41Sopenharmony_ci    partial: boolean;
641cb0ef41Sopenharmony_ci    globSet: string[];
651cb0ef41Sopenharmony_ci    globParts: string[][];
661cb0ef41Sopenharmony_ci    nocase: boolean;
671cb0ef41Sopenharmony_ci    isWindows: boolean;
681cb0ef41Sopenharmony_ci    platform: Platform;
691cb0ef41Sopenharmony_ci    windowsNoMagicRoot: boolean;
701cb0ef41Sopenharmony_ci    regexp: false | null | MMRegExp;
711cb0ef41Sopenharmony_ci    constructor(pattern: string, options?: MinimatchOptions);
721cb0ef41Sopenharmony_ci    hasMagic(): boolean;
731cb0ef41Sopenharmony_ci    debug(..._: any[]): void;
741cb0ef41Sopenharmony_ci    make(): void;
751cb0ef41Sopenharmony_ci    preprocess(globParts: string[][]): string[][];
761cb0ef41Sopenharmony_ci    adjascentGlobstarOptimize(globParts: string[][]): string[][];
771cb0ef41Sopenharmony_ci    levelOneOptimize(globParts: string[][]): string[][];
781cb0ef41Sopenharmony_ci    levelTwoFileOptimize(parts: string | string[]): string[];
791cb0ef41Sopenharmony_ci    firstPhasePreProcess(globParts: string[][]): string[][];
801cb0ef41Sopenharmony_ci    secondPhasePreProcess(globParts: string[][]): string[][];
811cb0ef41Sopenharmony_ci    partsMatch(a: string[], b: string[], emptyGSMatch?: boolean): false | string[];
821cb0ef41Sopenharmony_ci    parseNegate(): void;
831cb0ef41Sopenharmony_ci    matchOne(file: string[], pattern: ParseReturn[], partial?: boolean): boolean;
841cb0ef41Sopenharmony_ci    braceExpand(): string[];
851cb0ef41Sopenharmony_ci    parse(pattern: string): ParseReturn;
861cb0ef41Sopenharmony_ci    makeRe(): false | MMRegExp;
871cb0ef41Sopenharmony_ci    slashSplit(p: string): string[];
881cb0ef41Sopenharmony_ci    match(f: string, partial?: boolean): boolean;
891cb0ef41Sopenharmony_ci    static defaults(def: MinimatchOptions): typeof Minimatch;
901cb0ef41Sopenharmony_ci}
911cb0ef41Sopenharmony_ciexport { AST } from './ast.js';
921cb0ef41Sopenharmony_ciexport { escape } from './escape.js';
931cb0ef41Sopenharmony_ciexport { unescape } from './unescape.js';
941cb0ef41Sopenharmony_ci//# sourceMappingURL=index.d.ts.map