export default function getComponentsByDir(): (componentsDir: string, componentsToRun?: string[]) => Promise;