export declare class MissingGlobalSettingsError extends Error { readonly settingsPath: string; constructor(settingsPath: string); } export type { AgentConfig, AutoReplyConfig, JudgeModelConfig } from "./types.js"; import type { AgentConfig, AutoReplyConfig, JudgeModelConfig } from "./types.js"; export declare function loadGlobalSettings(): AgentConfig; export declare function resolveConversationSettings(conversationDir: string): AgentConfig; /** * Resolve the model used to judge auto-reply rules. Falls back to the main * llm.{provider,model} when llm.autoReply is not set, so a missing override * keeps current behavior. * * @deprecated Auto-reply is kept for compatibility while its future is undecided. */ export declare function loadAutoReplyJudgeModel(conversationDir?: string): JudgeModelConfig; /** * Load the mom-compatible auto-reply marker file state for a conversation. * * - `auto-reply` exists: enabled; empty file means reply to any top-level message. * - `auto-reply.disabled` exists: disabled, preserving any rules text for re-enable. * - neither exists: disabled. * * @deprecated Auto-reply is kept for compatibility while its future is undecided. */ export declare function loadConversationAutoReplyConfig(conversationDir: string): AutoReplyConfig; /** * Save auto-reply state using mom-compatible marker files. * * @deprecated Auto-reply is kept for compatibility while its future is undecided. */ export declare function saveConversationAutoReplyConfig(conversationDir: string, config: AutoReplyConfig): void; export declare function resolveWorkspaceDirFromArgv(args?: string[]): string | undefined; export declare function resolveStateDirFromArgv(args?: string[]): string; export declare function resolveSentryDsn(): string | undefined; export declare function createGlobalSettingsFile(stateDir: string): string; /** * Externally-visible base URL of the link/OAuth server, e.g. * `https://mikan.example.com` (no trailing slash). Read from `LINK_URL` or * `MIKAN_LINK_URL`, the same env var the bot uses to build credential onboarding links. */ export declare function resolveLinkBaseUrl(): string | undefined; export declare function updateGlobalSettings(patch: Partial): void; export declare function updateConversationSettings(conversationDir: string, patch: Partial): void; //# sourceMappingURL=config.d.ts.map