export declare function buildRegex(entry: string): RegExp | null; export declare function isCommandBlocked(command: string, mode: 'blacklist' | 'whitelist', list: string[]): boolean; export declare function stripQuotes(text: string): string; export declare function tokenizeCommand(command: string): string[]; export declare function isPathLike(token: string): boolean; export declare function resolveCandidatePath(candidate: string, currentDir: string): string; export declare function extractPathCandidates(command: string): string[]; export declare function isWithinRoot(rootDir: string, targetPath: string): boolean; export declare function validatePathAccess(command: string, currentDir: string, rootDir: string, restrictDirectory: boolean): { valid: boolean; error?: string; }; export declare function validateCdCommand(command: string, currentDir: string, rootDir: string, restrictDirectory: boolean): { valid: boolean; newDir?: string; error?: string; }; export declare function maskCurlOutput(command: string, output: string): string; export declare function isPrivateIpv4(ip: string): boolean; export declare function escapeHtml(text: string): string;