import { EtriganError } from '@etrigan/core'; import { ConfigMap } from './load-config'; export interface ConfigDriver { protocol: string; fromConnectionString(connectionString: string): Promise; } export declare class ConfigDriverError extends EtriganError { static isInstance(error: Error): boolean; constructor(message: string, innerError?: Error); } export declare function registerDriver(configDriver: ConfigDriver): void; /** * Gets config for a config connection string * * Driver connection string format: * env://ENV_NAME;ALIASED_ENV_NAME:aliasedName * * json:///absolute/path/to/file.json * json://relative/path/toconfig.json */ export declare function getConfigRecords(configConnectionString: string): Promise>;