import { Either } from 'effect'; import { ShortcutConfig, StatusHookConfig, WorktreeHookConfig, WorktreeConfig, CommandPresetsConfig, MergeConfig, CommandPreset, ConfigurationData, IConfigReader } from '../../types/index.js'; import { ValidationError } from '../../types/errors.js'; /** * ConfigReader provides merged configuration reading for runtime components. * It combines project-level config (from `.ccmanager.json`) with global config, * with project config taking priority. * * Uses the singleton projectConfigManager (cwd-based) for project config. */ export declare class ConfigReader implements IConfigReader { getShortcuts(): ShortcutConfig; getStatusHooks(): StatusHookConfig; getWorktreeHooks(): WorktreeHookConfig; getWorktreeConfig(): WorktreeConfig; getCommandPresets(): CommandPresetsConfig; getMergeConfig(): MergeConfig | undefined; getConfiguration(): ConfigurationData; getAutoApprovalConfig(): NonNullable; isAutoApprovalEnabled(): boolean; getDefaultPreset(): CommandPreset; getSelectPresetOnStart(): boolean; getPresetByIdEffect(id: string): Either.Either; reload(): void; } /** * Default singleton instance */ export declare const configReader: ConfigReader;