import picomatch from 'picomatch'; export declare const getDeeperGlobPattern: (a: ReturnType, b: ReturnType) => import("picomatch/lib/scan").State; /** * Parses every pattern once, so the returned function is cheap to call multiple times. */ export declare function compileGlobMatcher(patterns: string[]): (relativePath: string) => boolean; export declare function pathMatchesGlobPattern(relativePath: string, pattern: string): boolean; export declare function getMostSpecificMatchingGlobKey(relativePath: string, globMap?: Record): string | undefined; export declare function resolveGlobMapValue(relativePath: string, globMap?: Record): T | undefined; /** * Converts a glob to a regular expression that is safe to inline in an HTML script: its source * never contains `<`. * * @param glob - The glob, for example `/docs/**` * @returns The regular expression, or undefined when the glob has none * * @example * ```ts * convertGlobToRegex('/docs/**')?.test('/docs/a') // Returns true * ``` */ export declare function convertGlobToRegex(glob: string): RegExp | undefined; //# sourceMappingURL=globs.d.ts.map