export declare function loadConfig>({ config, configPath, defaultConfig, defaultConfigPath, refSchemas, schema, }: { config?: T; configPath?: string; defaultConfig?: T; defaultConfigPath?: string; refSchemas?: Record[]; schema?: Record; }): Promise;