import type { Md2cfConfig } from "./types.js"; /** Returns the path to the md2cf configuration directory (~/.md2cf). */ export declare function getConfigDir(): string; /** Returns the path to the md2cf config file (~/.md2cf/config.json). */ export declare function getConfigPath(): string; /** Loads and validates the config file, returning a partial config (empty object if no file). */ export declare function loadConfig(): Partial; /** Validates and saves the config to disk. Creates the config directory if needed. */ export declare function saveConfig(config: Partial): void; /** Gets a single config value by key. */ export declare function getConfigValue(key: keyof Md2cfConfig): string | undefined; /** Sets a single config value by key, merging with existing config. */ export declare function setConfigValue(key: keyof Md2cfConfig, value: string): void; /** Checks whether all required config fields (email, token, baseUrl) are present. */ export declare function validateConfig(): { valid: boolean; missing: string[]; }; /** Deletes the config file. */ export declare function resetConfig(): void; /** Loads and validates the full config, throwing if any required fields are missing. */ export declare function getFullConfig(): Md2cfConfig; /** Masks an API token for display, showing only the first and last 4 characters. */ export declare function maskToken(token: string): string; //# sourceMappingURL=config.d.ts.map