/** * Global configuration management * Manages ~/.miyabi/ directory for user-wide settings */ /** * Global config directory path */ export declare const GLOBAL_CONFIG_DIR: string; /** * Marker file for first-run detection */ export declare const FIRST_RUN_MARKER: string; /** * Global config file */ export declare const GLOBAL_CONFIG_FILE: string; /** * Global state file */ export declare const GLOBAL_STATE_FILE: string; /** * Global config structure */ export interface GlobalConfig { version: string; installedAt: string; lastUsed?: string; onboardingCompleted?: boolean; preferences?: { language?: 'ja' | 'en'; autoUpdate?: boolean; telemetry?: boolean; }; } /** * Global state structure */ export interface GlobalState { projectsCreated: number; projectsInstalled: number; lastProject?: string; totalCommands: number; } /** * Initialize global config directory */ export declare function initGlobalConfig(): void; /** * Check if this is the first run */ export declare function isFirstRun(): boolean; /** * Mark first run as complete */ export declare function markFirstRunComplete(): void; /** * Load global config */ export declare function loadGlobalConfig(): GlobalConfig | null; /** * Save global config */ export declare function saveGlobalConfig(config: GlobalConfig): void; /** * Load global state */ export declare function loadGlobalState(): GlobalState; /** * Save global state */ export declare function saveGlobalState(state: GlobalState): void; /** * Increment project created counter */ export declare function incrementProjectsCreated(): void; /** * Increment project installed counter */ export declare function incrementProjectsInstalled(): void; /** * Update last used timestamp */ export declare function updateLastUsed(): void; /** * Increment total commands counter */ export declare function incrementCommandCounter(): void; /** * Get stats summary */ export declare function getStatsSummary(): GlobalState; //# sourceMappingURL=global-config.d.ts.map