export interface PaConfig { serverUrl: string; apiKey: string; localLogRoot?: string; slsProject?: string; slsWebLogstore?: string; slsRuntimeLogstore?: string; aliyunProfile?: string; } export interface PaProfile extends PaConfig { name: string; } export declare function loadConfig(configDir?: string): PaConfig; export declare function setConfigValue(key: string, value: string, configDir?: string): void; export declare function listProfiles(configDir?: string): PaProfile[]; export declare function addProfile(profile: PaProfile, configDir?: string): void; export declare function removeProfile(name: string, configDir?: string): void; export declare function useProfile(name: string, configDir?: string): PaConfig; export declare function getCurrentProfileName(configDir?: string): string | null; export declare function maskApiKey(key: string): string;