/** * Tiny glob matcher tailored for path globs: * - `**` → match across path separators (zero or more components) * - `*` → match within a single component (no separator) * - `?` → match a single character (no separator) * - any other character is matched literally * * Patterns must be already tilde-expanded and resolved to absolute paths * by the caller via `expandPattern`. */ export declare function globToRegExp(pattern: string): RegExp; /** Expand `~` and `~/...` against the provided home, then resolve to an * absolute path. Returns null when the resulting path escapes `home` (a * pattern like `~/../etc/**` would otherwise allow rules outside the * user's tree). */ export declare function expandPattern(pattern: string, home: string): string | null;