export interface ConfigSearchResult {
    config: any;
    filepath: string;
    isEmpty?: boolean;
}
export declare function isLegacyConfig(filePath: string): boolean;
export declare function createCosmiConfig(moduleName: string, legacy: boolean): import("cosmiconfig").PublicExplorer;
export declare function createCosmiConfigSync(moduleName: string, legacy: boolean): import("cosmiconfig").PublicExplorerSync;
//# sourceMappingURL=cosmiconfig.d.ts.map