brek
Version:
17 lines (16 loc) • 646 B
TypeScript
export interface Config {
}
export declare type Loader<T extends Record<string, string>> = (params: T) => string | Promise<string>;
export declare type LoaderDict = {
[name: string]: Loader<any>;
};
export declare const BREK_CONFIG_DIR: string;
export declare const BREK_WRITE_DIR: string;
export declare const BREK_LOADERS_FILE_PATH: string;
export declare const BREK_CONFIG_JSON_PATH: string;
export declare function getConfig(): Config;
/**
* Load the configuration from the project's config files and environment variables,
* and write the resolved configuration to config.json.
*/
export declare function loadConfig(): Promise<void>;