import type { WorkflowGlobalConfig, WorkflowProjectConfig } from './types.js'; export declare const WORKFLOW_GLOBAL_CONFIG_PATH = ".comet/config.yaml"; declare function toProjectConfig(config: WorkflowGlobalConfig): WorkflowProjectConfig; declare function toGlobalConfig(config: WorkflowProjectConfig): WorkflowGlobalConfig; export declare function parseWorkflowGlobalConfig(source: string): WorkflowGlobalConfig | null; /** * Read the user-level config at a lifecycle boundary where known historical * project configs can be migrated in place by the caller's write operation. * Ordinary global reads stay strict so a project config is never silently * treated as global outside init/update lifecycle handling. */ export declare function parseWorkflowGlobalConfigForLifecycle(source: string): WorkflowGlobalConfig | null; export declare function readWorkflowGlobalConfig(homeDir: string): Promise; export declare function readWorkflowGlobalConfigForLifecycle(homeDir: string): Promise; export declare function writeWorkflowGlobalConfig(homeDir: string, config: WorkflowGlobalConfig): Promise; export { toGlobalConfig as workflowGlobalConfigFromProjectConfig }; export { toProjectConfig as workflowProjectConfigFromGlobalConfig }; //# sourceMappingURL=global-config.d.ts.map