export declare function sanitizeFilePath(filePath: string, baseDir: string): string; export declare function resolveUserPath(userPath: string, baseDir: string): string; export declare function validateFilename(filename: string): string | true; export declare function isPathSafe(filePath: string, allowedDir: string): boolean; export declare function createPathWhitelist(allowedDirs: string[]): (filePath: string) => boolean;