import type { FileFilter, HashFunction, PathMatcher } from '../types'; export declare const readFile: (i: string) => string; export declare const innerListFiles: (directory: string, exclude: PathMatcher, visited: { [prop: string]: true; }) => string[]; export declare const getMatcher: (filter: RegExp | RegExp[] | Function) => PathMatcher; export declare const listFiles: (directory: string, exclude?: FileFilter | undefined) => string[]; export declare const parse: (filePath: string, source?: string | undefined) => any; export declare const parseWithBabelrc: (source: string, filePath: string) => any; export declare const getHashFunction: () => HashFunction; export declare const getDirResolver: (filepath: string) => (dir: string) => string;