import type { Jiti } from 'jiti'; import type { RootConfig } from '../../types'; /** * Gets the configuration file and dirname of the file starting at the process.cwd() and working upward until hitting the root of the filesystem. * If not found, will return undefined. */ export declare function getConfig(require: NodeJS.Require | Jiti, cwd?: string): { config: RootConfig | undefined; configRoot: string; };