import type { RenovateConfig } from '../../../config/types';
import type { RepoFileConfig } from './types';
export declare function detectConfigFile(): Promise<string | null>;
export declare function detectRepoFileConfig(): Promise<RepoFileConfig>;
export declare function checkForRepoConfigError(repoConfig: RepoFileConfig): void;
export declare function mergeRenovateConfig(config: RenovateConfig): Promise<RenovateConfig>;
/** needed when using portal secrets for npmToken */
export declare function setNpmTokenInNpmrc(config: RenovateConfig): void;
