@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
11 lines • 747 B
TypeScript
export declare const QUOTED_CHARS: Readonly<Record<string, string>>;
export declare const EXTGLOB_RE: RegExp;
/** Replace extended groups with wildcards for word classification. */
export declare function patternShape(pattern: string): string;
/** Split a pathname around slashes outside extended groups. */
export declare function patternParts(pattern: string): string[];
/** Match a case-sensitive shell pattern, preserving quoting sentinels. */
export declare function fnmatch(name: string, pattern: string, extglob?: boolean, period?: boolean): boolean;
/** Match Python's fnmatchcase dialect, including literal class carets. */
export declare function fnmatchcase(name: string, pattern: string): boolean;
//# sourceMappingURL=fnmatch.d.ts.map