import { Options } from "cosmiconfig"; export declare function getConfig(moduleName?: string, cosmiconfigOptions?: Options): { readonly search: (searchFrom?: string) => Promise<{ config: any; filepath: string; isEmpty?: boolean; }>; readonly load: (filepath: string) => Promise<{ config: any; filepath: string; isEmpty?: boolean; }>; readonly clearLoadCache: () => void; readonly clearSearchCache: () => void; readonly clearCaches: () => void; };