1 | import { Options, OptionsSync } from "cosmiconfig";
|
2 | export interface CosmicResult {
|
3 | [index: string]: any;
|
4 | }
|
5 | export declare const cosmic: (name: string, options?: Options | undefined) => Promise<CosmicResult>;
|
6 | export declare const cosmicSync: (name: string, options?: OptionsSync | undefined) => CosmicResult;
|
7 | export declare const clearCosmicCache: () => void;
|
8 | export declare const config: <T = any>(key: string, defaultValue?: T | undefined) => T;
|