import type { Configs } from '../../@types/list-files.js';
export declare const sanitizePath: (input: string, ensureTarget?: boolean) => string;
export declare const isFile: (fullPath: string) => Promise<boolean>;
export declare const escapeRegExp: (string: string) => string;
export declare const getAllFiles: (dirPath: string, files?: Set<string>, configs?: Configs) => Promise<Set<string>>;
export declare const listFiles: (targetDir: string, configs?: Configs) => Promise<string[]>;
