export default function loadDir(dirPath: string, loadFn: (filePath: string) => void, ignoreDirs?: string[]): void;