import type { Volatile } from '@deepseek-ai/cordis'; /** Wire values the settings page reads. Secrets are redacted before they arrive. */ export interface Config { enabled?: boolean; /** Legacy shared workspace. Kept so existing installations do not move. */ workspaceDir?: string; slackWorkspaceDir?: string; slackModel?: string; slackReasoningEffort?: string; slackBotToken?: string; slackAppToken?: string; slackOwner?: string; feishuWorkspaceDir?: string; feishuModel?: string; feishuReasoningEffort?: string; feishuAppId?: string; feishuAppSecret?: string; feishuOwner?: string; } /** Host Config. Each field is a live profile reference; read it with `.get()`. */ export interface LiveConfig { enabled: Volatile; workspaceDir: Volatile; slackWorkspaceDir: Volatile; slackModel: Volatile; slackReasoningEffort: Volatile; slackBotToken: Volatile; slackAppToken: Volatile; slackOwner: Volatile; feishuWorkspaceDir: Volatile; feishuModel: Volatile; feishuReasoningEffort: Volatile; feishuAppId: Volatile; feishuAppSecret: Volatile; feishuOwner: Volatile; } export declare const SETTINGS_NAMESPACE = "dsh-messaging-gateway"; export declare const SLACK_CREATE_APP_URL = "https://api.slack.com/apps?new_app=1"; export declare const SLACK_APPS_URL = "https://api.slack.com/apps"; export declare const FEISHU_OPEN_APP_URL = "https://open.feishu.cn/app"; export declare function parseConfiguredModel(value: string | undefined, reasoningEffort?: string): { provider: string; model: string; reasoningEffort?: string; } | undefined;