import { type Config, type ConnectionConfigDict } from "../types"; export declare function resolveConfigFile(): Promise<{ localConfigPath?: string; configPath: string; }>; /** * @returns The exported config from the active config file. * @throws CLIError if the config file is not found or contains a syntax error. * @description Loads the config from the resolved config file (connectrc.local.js * when in local mode, connectrc.js otherwise). Uses resolveLocalEnvironment() * as the single source of truth for which file to load. */ export declare function getRepositoryConfigFile(): Promise; /** * Reads the content of the connectrc.js file and returns the connections object and the content of the file * @returns The connections object and the content of the connectrc.js file in {@link RawConfigContent} */ export declare function getRepositoryConnectionsAndConfig({ shouldPrintExecutionWarnings, }?: { shouldPrintExecutionWarnings?: boolean | undefined; }): Promise; interface RawConfigContent { fileContent: string; existingConnections: ConnectionConfigDict; } export {}; //# sourceMappingURL=config.d.ts.map