index-cjs.d.ts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. declare const _default: {
  2. (p: string, pattern: string, options?: import("./index.js").MinimatchOptions): boolean;
  3. sep: "\\" | "/";
  4. GLOBSTAR: typeof import("./index.js").GLOBSTAR;
  5. filter: (pattern: string, options?: import("./index.js").MinimatchOptions) => (p: string) => boolean;
  6. defaults: (def: import("./index.js").MinimatchOptions) => any;
  7. braceExpand: (pattern: string, options?: import("./index.js").MinimatchOptions) => string[];
  8. makeRe: (pattern: string, options?: import("./index.js").MinimatchOptions) => false | import("./index.js").MMRegExp;
  9. match: (list: string[], pattern: string, options?: import("./index.js").MinimatchOptions) => string[];
  10. Minimatch: typeof import("./index.js").Minimatch;
  11. escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("./index.js").MinimatchOptions, "windowsPathsNoEscape">) => string;
  12. unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("./index.js").MinimatchOptions, "windowsPathsNoEscape">) => string;
  13. } & {
  14. default: {
  15. (p: string, pattern: string, options?: import("./index.js").MinimatchOptions): boolean;
  16. sep: "\\" | "/";
  17. GLOBSTAR: typeof import("./index.js").GLOBSTAR;
  18. filter: (pattern: string, options?: import("./index.js").MinimatchOptions) => (p: string) => boolean;
  19. defaults: (def: import("./index.js").MinimatchOptions) => any;
  20. braceExpand: (pattern: string, options?: import("./index.js").MinimatchOptions) => string[];
  21. makeRe: (pattern: string, options?: import("./index.js").MinimatchOptions) => false | import("./index.js").MMRegExp;
  22. match: (list: string[], pattern: string, options?: import("./index.js").MinimatchOptions) => string[];
  23. Minimatch: typeof import("./index.js").Minimatch;
  24. escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("./index.js").MinimatchOptions, "windowsPathsNoEscape">) => string;
  25. unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("./index.js").MinimatchOptions, "windowsPathsNoEscape">) => string;
  26. };
  27. minimatch: {
  28. (p: string, pattern: string, options?: import("./index.js").MinimatchOptions): boolean;
  29. sep: "\\" | "/";
  30. GLOBSTAR: typeof import("./index.js").GLOBSTAR;
  31. filter: (pattern: string, options?: import("./index.js").MinimatchOptions) => (p: string) => boolean;
  32. defaults: (def: import("./index.js").MinimatchOptions) => any;
  33. braceExpand: (pattern: string, options?: import("./index.js").MinimatchOptions) => string[];
  34. makeRe: (pattern: string, options?: import("./index.js").MinimatchOptions) => false | import("./index.js").MMRegExp;
  35. match: (list: string[], pattern: string, options?: import("./index.js").MinimatchOptions) => string[];
  36. Minimatch: typeof import("./index.js").Minimatch;
  37. escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("./index.js").MinimatchOptions, "windowsPathsNoEscape">) => string;
  38. unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("./index.js").MinimatchOptions, "windowsPathsNoEscape">) => string;
  39. };
  40. };
  41. export = _default;
  42. //# sourceMappingURL=index-cjs.d.ts.map