import { IConfig } from './'; type AsyncFunction = (this: IConfig, config: string, origValue: T) => Promise; export function asyncConfig(promise: Promise): Promise; export function asyncConfig(func: AsyncFunction): Promise; export function resolveAsyncConfigs(config: IConfig): Promise;