import type { IMQCLIConfig } from './config.js'; /** * Per-service config file, committed into a generated service. Holds the * choices made for that service (vcs/ci/registry/packages) and acts as the * per-service override layer that wins over the global config. */ export declare const SERVICE_CONFIG_FILENAME = ".imqrc.json"; /** * Resolves the per-service config file path for a given service directory. * * @param {string} dir - service directory * @return {string} */ export declare function serviceConfigPath(dir: string): string; /** * Loads the per-service config from a service directory. Returns an empty * object when the file is absent or unreadable/broken (never throws). * * @param {string} dir - service directory * @return {IMQCLIConfig} */ export declare function loadServiceConfig(dir: string): IMQCLIConfig; /** * Saves the per-service config into a service directory. * * @param {string} dir - service directory * @param {IMQCLIConfig} config - config object to write */ export declare function saveServiceConfig(dir: string, config: IMQCLIConfig): void;