export interface FileInfo {
    /**
     * Full absolute path to the file (may be outside the root directory when traversing
     * symlink targets)
     */
    fullPath: string;
    /** Relative path from the requested root directory */
    relativePath: string;
    /** File content (if requested) */
    content?: Buffer;
}
export interface ReadDirRecursiveOptions {
    /** Include paths normally ignored for conventional web deployments. */
    includeIgnoredPaths?: boolean;
    /** Surface filesystem failures instead of silently omitting a package artifact. */
    failOnError?: boolean;
}
/**
 * Reads a directory recursively and returns information about all files.
 *
 * By default, paths matching a built-in skip list are not included in the results. The
 * following are always skipped:
 *
 * - Any path containing `node_modules/`
 * - Any path containing `.git/`
 * - Files named `.DS_Store`
 * - Files named `thumbs.db`
 *
 * Returns an empty array if the directory doesn't exist.
 */
export declare function readDirRecursive(dirPath: string, options?: ReadDirRecursiveOptions): Promise<Omit<FileInfo, 'content'>[]>;
/**
 * Reads a directory recursively and returns file contents along with metadata.
 *
 * By default, paths matching a built-in skip list are not included in the results. The
 * following are always skipped:
 *
 * - Any path containing `node_modules/`
 * - Any path containing `.git/`
 * - Files named `.DS_Store`
 * - Files named `thumbs.db`
 *
 * Returns an empty array if the directory doesn't exist.
 */
export declare function readDirRecursiveWithContents(dirPath: string, options?: ReadDirRecursiveOptions): Promise<Required<FileInfo>[]>;
//# sourceMappingURL=read-dir-recursive.d.mts.map