import { ACCOUNT_IDENTIFIERS } from '../constants/config.js'; import { HubSpotConfig, DeprecatedHubSpotConfigFields, HubSpotConfigErrorType, HubSpotConfigValidationResult } from '../types/Config.js'; import { HubSpotConfigAccount } from '../types/Accounts.js'; import { ValueOf } from '../types/Utils.js'; export declare function getLocalConfigDefaultFilePath(): string; export declare function getConfigPathEnvironmentVariables(): { useEnvironmentConfig: boolean; configFilePathFromEnvironment: string | undefined; }; export declare function doesConfigFileExistAtPath(path: string): boolean; export declare function readConfigFile(configPath: string): string; export declare function removeUndefinedFieldsFromConfigAccount = HubSpotConfigAccount>(account: T): T; export declare function formatConfigForWrite(config: HubSpotConfig): HubSpotConfig; export declare function writeConfigFile(config: HubSpotConfig, configPath: string): void; export declare function normalizeParsedConfig(parsedConfig: HubSpotConfig & DeprecatedHubSpotConfigFields): HubSpotConfig; export declare function convertToDeprecatedConfig(config: HubSpotConfig): Partial & Partial; export declare function parseConfig(configSource: string, configPath: string): HubSpotConfig; export declare function buildConfigFromEnvironment(): HubSpotConfig; export declare function getAccountIdentifierAndType(accountIdentifier: string | number): { identifier: string | number; identifierType: ValueOf; }; export declare function getConfigAccountByIdentifier(accounts: Array, identifierFieldName: ValueOf, identifier: string | number): HubSpotConfigAccount | undefined; export declare function getConfigAccountByInferredIdentifier(accounts: Array, accountIdentifier: string | number): HubSpotConfigAccount | undefined; export declare function getConfigAccountIndexById(accounts: Array, id: number): number; export declare function validateConfigAccount(account: Partial): HubSpotConfigValidationResult; export declare function handleConfigFileSystemError(error: unknown, path: string): { message?: string; type: HubSpotConfigErrorType; };