/** * Configuration Loader * Loads configuration from ~/.glm/config.json with environment variable fallback */ import { GlmConfig } from './types.js'; import type { ApiPlan } from './types.js'; /** * Load GLM configuration * Priority: Local config > Global config > Environment variables */ export declare function loadConfig(): GlmConfig; /** * Check if debug mode is enabled */ export declare function isDebugEnabled(): boolean; /** * Check if quality instructions are enabled */ export declare function isQualityEnabled(): boolean; /** * Log debug message if debug mode is enabled */ export declare function debug(message: string, ...args: unknown[]): void; /** * Check if verbose logging is enabled * Default: true */ export declare function isVerboseLogEnabled(): boolean; /** * Check if usage logging is enabled * Default: true */ export declare function isLoggingEnabled(): boolean; /** * Get GLM home directory path */ export declare function getGlmHomeDir(): string; /** * Get local .glm directory path (if exists) */ export declare function getLocalGlmDir(): string | null; /** * Get API plan from config */ export declare function getApiPlan(): ApiPlan;