/** * Glob matching for the sandboxed filesystem tools. * * The host path hands its pattern to the runtime's own directory walker; * inside a sandbox there is only a flat listing to filter, so the matching * has to happen here. Written out rather than reached for from the * platform: the runtime's glob matcher is still flagged experimental, and * an SDK that ships into other people's runtimes should not depend on * that. * * The subset is the one the tools document — `**` across separators, `*` * and `?` within one segment. Every other character is escaped, so a * pattern containing regex punctuation matches literally instead of * quietly becoming a different query. */ export declare function globToRegExp(pattern: string): RegExp; export declare function matchesGlob(path: string, pattern: string): boolean; //# sourceMappingURL=glob-match.d.ts.map