/**
 * Validate and resolve a file or directory path.
 */
export declare function resolvePath(p: string, context: string): string;
/**
 * Check if a path exists.
 */
export declare function exists(p: string): Promise<boolean>;
/**
 * Check if the given path is a directory.
 */
export declare function isDirectory(p: string): Promise<boolean>;
/**
 * Check if the given path is a file.
 */
export declare function isFile(p: string): Promise<boolean>;
/**
 * Read directory contents and return full paths.
 */
export declare function readDir(p: string): Promise<string[]>;
/**
 * Read file as text.
 */
export declare function readFile(p: string): Promise<string>;
/**
 * Read file as Buffer.
 */
export declare function readFileBuffer(p: string): Promise<Buffer>;
//# sourceMappingURL=fs.d.ts.map