/** * Python glob module for TypeScript - Browser version * * Browser stub - filesystem operations are not available. * * @see {@link https://docs.python.org/3/library/glob.html | Python glob documentation} * @module */ /** * Return a list of paths matching a pathname pattern. * Browser stub - always returns empty array. */ declare function glob(_pattern: string, _options?: { recursive?: boolean; rootDir?: string; includeHidden?: boolean; }): Promise; /** * Return an async iterator of paths matching a pathname pattern. * Browser stub - yields nothing. */ declare function iglob(_pattern: string, _options?: { recursive?: boolean; rootDir?: string; includeHidden?: boolean; }): AsyncGenerator; /** * Escape all special characters in a pathname. */ declare function escape(pathname: string): string; /** * Return true if the pattern contains any magic glob characters. */ declare function hasMagic(pattern: string): boolean; /** * Return a list of all files matching pattern recursively. * Browser stub - always returns empty array. */ declare function rglob(_pattern: string, _rootDir?: string): Promise; declare const globModule_escape: typeof escape; declare const globModule_glob: typeof glob; declare const globModule_hasMagic: typeof hasMagic; declare const globModule_iglob: typeof iglob; declare const globModule_rglob: typeof rglob; declare namespace globModule { export { globModule_escape as escape, globModule_glob as glob, globModule_hasMagic as hasMagic, globModule_iglob as iglob, globModule_rglob as rglob }; } export { glob as a, escape as e, globModule as g, hasMagic as h, iglob as i, rglob as r };