import type { Command } from "commander"; export interface ZerocutConfig { apiKey: string; region?: "us" | "cn"; } export declare function configPath(): string; export declare function readConfig(): Promise>; export declare function readConfigSync(): Partial; export declare function writeConfig(update: Partial): Promise>; export declare function getConfigValueSync(key: string): unknown; export declare function getConfigValue(key: string): Promise; export declare function setConfigValueSync(key: string, value: unknown): void; export declare function setConfigValue(key: string, value: unknown): Promise; export declare function ensureConfig(): Promise; export declare function applyConfigInterceptor(program: Command): void;