import type { AbapDeployConfig } from '../types/index.js'; import type { BspConfig } from '@sap-ux/axios-extension'; import type { Logger } from '@sap-ux/logger'; /** * Clones the given config and removes secrets so that it can be printed to a log file. * * @param config - config object * @returns config object that can be logged */ export declare function getConfigForLogging(config: AbapDeployConfig): AbapDeployConfig | (Omit & { credentials: 'hidden'; }); /** * Helper function for throwing a missing property error. * * @param property Invalid missing property */ export declare function throwConfigMissingError(property: string): void; /** * Type checking the config object. * * @param config - config to be checked * @returns true if it is of type BSP config */ export declare function isBspConfig(config: Partial): config is BspConfig; /** * Validate the given config. If anything mandatory is missing throw an error. * * @param config - the config to be validated * @param logger Logger used by deploy tooling * @returns reference to the given config */ export declare function validateConfig(config: AbapDeployConfig | undefined, logger?: Logger): AbapDeployConfig; //# sourceMappingURL=config.d.ts.map