import type { AutomationDecision, TaskPriority } from '../domain/index.js'; export declare const TASKBOARD_LOCALE_NS = "taskboard"; declare const zh: { readonly taskboard: "任务板"; readonly close: "关闭任务板"; readonly newTask: "新建任务"; readonly title: "标题"; readonly description: "描述"; readonly create: "创建"; readonly dashboard: "概览"; readonly board: "看板"; readonly list: "列表"; readonly gantt: "甘特"; readonly workflows: "工作流"; readonly other: "其他任务"; readonly backlog: "待批准"; readonly todo: "待办"; readonly in_progress: "进行中"; readonly in_review: "待评审"; readonly blocked: "已阻塞"; readonly done: "已完成"; readonly canceled: "已取消"; readonly empty: "暂无任务"; readonly noProject: "还没有项目,请先创建一个项目"; readonly refresh: "刷新"; readonly approve: "批准开工"; readonly accept: "验收完成"; readonly archive: "归档"; readonly restore: "恢复"; readonly save: "保存"; readonly closeDetail: "关闭详情"; readonly dismiss: "关闭"; readonly comment: "评论"; readonly addComment: "添加评论"; readonly project: "项目"; readonly addProject: "新建项目"; readonly projectName: "项目名称"; readonly projectKey: "项目代号"; readonly due: "截止"; readonly recentTasks: "最近任务"; readonly priority: "优先级"; readonly loading: "正在读取本地任务数据…"; readonly workflowNote: "保存的工作流会作为 Agent 执行指引加入任务上下文;节点不会由调度器自动运行。"; readonly search: "搜索任务"; readonly allStatuses: "全部状态"; readonly deleteProject: "删除项目"; readonly editProject: "编辑项目"; readonly newSession: "在新会话中打开"; readonly workspaceRequired: "请先为项目映射 Workspace"; readonly sessionTaskMustBeActive: "请先批准或恢复任务,再启动关联会话。"; readonly comments: "评论记录"; readonly activity: "活动"; readonly attachments: "附件"; readonly relations: "关系"; readonly sessions: "关联会话"; readonly automation: "自动化"; readonly enable: "启用"; readonly pause: "暂停"; readonly nextRun: "下次运行"; readonly lastDecision: "最近决策"; readonly addAutomation: "新建自动化"; readonly addWorkflow: "新建工作流"; readonly addStep: "添加步骤"; readonly designOnly: "仅设计"; readonly executable: "可执行"; readonly returnWork: "退回修改"; readonly openSession: "打开会话"; readonly storageHealth: "本地存储健康"; readonly healthy: "正常"; readonly degraded: "需处理"; readonly cleanupPending: "待清理附件"; readonly orphanedClaims: "孤儿认领"; readonly undo: "撤销上次编辑"; readonly today: "今天"; readonly showCompleted: "显示已完成"; readonly recurrence: "重复"; readonly noRecurrence: "不重复"; readonly interval: "间隔"; readonly until: "截止重复"; readonly write: "编写"; readonly preview: "预览"; readonly edit: "编辑"; readonly markdownToolbar: "Markdown 工具栏"; readonly mdHeading: "标题"; readonly mdBold: "加粗"; readonly mdItalic: "斜体"; readonly mdQuote: "引用"; readonly mdCode: "代码"; readonly mdLink: "链接"; readonly mdBullet: "无序列表"; readonly mdNumber: "有序列表"; readonly descriptionPlaceholder: "使用 Markdown 编写任务详情"; readonly openIssue: "打开"; readonly closedIssue: "已关闭"; readonly opened: "创建了"; readonly commentPlaceholder: "使用 Markdown 编写评论"; readonly attachFiles: "粘贴、拖放或选择要附加的文件"; readonly noneYet: "暂无"; readonly noOne: "未指定"; readonly noDate: "无日期"; readonly targetDate: "目标日期"; readonly closeIssue: "关闭任务"; readonly labels: "标签"; readonly unlabeled: "未标签"; readonly addLabel: "新建标签"; readonly renameLabel: "重命名标签"; readonly deleteLabel: "删除标签"; readonly noLabels: "暂无标签"; readonly labelName: "标签名称"; readonly unlabeledTasks: "未标签任务"; readonly edited: "已编辑"; readonly workspaceId: "Harness Workspace ID"; readonly blankGlobal: "留空表示全局项目"; readonly globalProject: "全局项目"; readonly workspace: "Workspace"; readonly noProjectLabels: "无项目标签"; readonly tasksWord: "个任务"; readonly activeWord: "进行中"; readonly agentPreset: "Agent 预设"; readonly modelRoute: "模型路由"; readonly reasoning: "推理强度"; readonly intervalSeconds: "间隔(秒)"; readonly workers: "工作器数"; readonly quota: "配额策略"; readonly pauseUncertain: "配额不确定时暂停"; readonly ignore: "忽略"; readonly autoPauseEmpty: "无任务时自动暂停"; readonly model: "模型"; readonly hostDefault: "Host 默认"; readonly stayEnabled: "保持启用"; readonly status: "状态"; readonly ganttZoom: "甘特缩放"; readonly days30: "30 天"; readonly days90: "90 天"; readonly oneYear: "1 年"; readonly noDatedTasks: "暂无已排期任务"; readonly workflowName: "工作流名称"; readonly nodeKind: "节点类型"; readonly newTabName: "新标签页名称"; readonly triggerKind: "触发器类型"; readonly tab: "标签页"; readonly deleteWorkflow: "删除工作流"; readonly installedCapabilities: "已安装能力"; readonly skillDiscovery: "Skill 发现"; readonly completeWord: "已完成"; readonly refreshing: "刷新中/不完整"; readonly skill: "Skill"; readonly mcp: "MCP"; readonly copy: "复制"; readonly trueLabel: "真"; readonly falseLabel: "假"; readonly assignee: "负责人"; readonly workflow: "工作流"; readonly developmentContext: "开发上下文"; readonly none: "无"; readonly branch: "分支"; readonly worktree: "Worktree"; readonly worktreePath: "Worktree 路径"; readonly start: "开始"; readonly daily: "每天"; readonly weekly: "每周"; readonly monthly: "每月"; readonly developmentRequired: "当前开发上下文需要分支和 Worktree 路径。"; readonly resume: "恢复"; readonly cancel: "取消"; readonly reopen: "重新打开"; readonly takeover: "强制接管"; readonly delete: "删除"; readonly confirm: "确认"; readonly reason: "原因"; readonly permanentlyDelete: "永久删除"; readonly participants: "参与者"; readonly creator: "创建者"; readonly actors: "操作者"; readonly attachComment: "附加到评论"; readonly relationKind: "关系类型"; readonly relatedTask: "关联任务"; readonly selectTask: "选择任务"; readonly add: "添加"; readonly bytes: "字节"; readonly current: "当前"; readonly offline: "离线"; readonly urgent: "紧急"; readonly high: "高"; readonly medium: "中"; readonly low: "低"; readonly enabled: "已启用"; readonly paused: "已暂停"; readonly more: "更多"; readonly moreRemaining: "还有 {count} 个"; readonly modify: "修改"; readonly runNow: "立即执行"; readonly recheckIntegrity: "重新校验"; readonly lastChecked: "上次校验"; readonly never: "尚未校验"; readonly tasksTruncated: "仅显示 {shown} / {total} 个任务,请用搜索或状态筛选缩小范围。"; readonly relationSourceUnloaded: "关系源任务未加载,请先用搜索定位该任务"; readonly showPreview: "预览"; readonly hidePreview: "收起预览"; readonly cleanupStalled: "清理失败已放弃"; readonly unsavedChanges: "未保存的修改"; readonly unsavedBody: "这个任务有未保存的修改,关闭后会丢失。"; readonly discardChanges: "放弃修改"; readonly keepEditing: "继续编辑"; readonly automationLog: "自动化运行日志"; readonly automationClaimed: "读取待办并开始执行 {task}"; readonly automationEmpty: "已检查待办,当前没有可执行的任务"; readonly automationFull: "工作器已满,本次未启动新任务"; readonly automationBlocked: "已检查待办,任务因依赖未完成而跳过"; readonly automationQuota: "配额不确定,已暂停新认领"; readonly automationError: "执行失败:{message}"; readonly openedMinutesAgo: "创建了 {count} 分钟前"; readonly openedHoursAgo: "创建了 {count} 小时前"; readonly openedDaysAgo: "创建了 {count} 天前"; readonly openedOnDate: "创建了 {date}"; }; export declare const taskboardLocales: { readonly zh: { readonly taskboard: "任务板"; readonly close: "关闭任务板"; readonly newTask: "新建任务"; readonly title: "标题"; readonly description: "描述"; readonly create: "创建"; readonly dashboard: "概览"; readonly board: "看板"; readonly list: "列表"; readonly gantt: "甘特"; readonly workflows: "工作流"; readonly other: "其他任务"; readonly backlog: "待批准"; readonly todo: "待办"; readonly in_progress: "进行中"; readonly in_review: "待评审"; readonly blocked: "已阻塞"; readonly done: "已完成"; readonly canceled: "已取消"; readonly empty: "暂无任务"; readonly noProject: "还没有项目,请先创建一个项目"; readonly refresh: "刷新"; readonly approve: "批准开工"; readonly accept: "验收完成"; readonly archive: "归档"; readonly restore: "恢复"; readonly save: "保存"; readonly closeDetail: "关闭详情"; readonly dismiss: "关闭"; readonly comment: "评论"; readonly addComment: "添加评论"; readonly project: "项目"; readonly addProject: "新建项目"; readonly projectName: "项目名称"; readonly projectKey: "项目代号"; readonly due: "截止"; readonly recentTasks: "最近任务"; readonly priority: "优先级"; readonly loading: "正在读取本地任务数据…"; readonly workflowNote: "保存的工作流会作为 Agent 执行指引加入任务上下文;节点不会由调度器自动运行。"; readonly search: "搜索任务"; readonly allStatuses: "全部状态"; readonly deleteProject: "删除项目"; readonly editProject: "编辑项目"; readonly newSession: "在新会话中打开"; readonly workspaceRequired: "请先为项目映射 Workspace"; readonly sessionTaskMustBeActive: "请先批准或恢复任务,再启动关联会话。"; readonly comments: "评论记录"; readonly activity: "活动"; readonly attachments: "附件"; readonly relations: "关系"; readonly sessions: "关联会话"; readonly automation: "自动化"; readonly enable: "启用"; readonly pause: "暂停"; readonly nextRun: "下次运行"; readonly lastDecision: "最近决策"; readonly addAutomation: "新建自动化"; readonly addWorkflow: "新建工作流"; readonly addStep: "添加步骤"; readonly designOnly: "仅设计"; readonly executable: "可执行"; readonly returnWork: "退回修改"; readonly openSession: "打开会话"; readonly storageHealth: "本地存储健康"; readonly healthy: "正常"; readonly degraded: "需处理"; readonly cleanupPending: "待清理附件"; readonly orphanedClaims: "孤儿认领"; readonly undo: "撤销上次编辑"; readonly today: "今天"; readonly showCompleted: "显示已完成"; readonly recurrence: "重复"; readonly noRecurrence: "不重复"; readonly interval: "间隔"; readonly until: "截止重复"; readonly write: "编写"; readonly preview: "预览"; readonly edit: "编辑"; readonly markdownToolbar: "Markdown 工具栏"; readonly mdHeading: "标题"; readonly mdBold: "加粗"; readonly mdItalic: "斜体"; readonly mdQuote: "引用"; readonly mdCode: "代码"; readonly mdLink: "链接"; readonly mdBullet: "无序列表"; readonly mdNumber: "有序列表"; readonly descriptionPlaceholder: "使用 Markdown 编写任务详情"; readonly openIssue: "打开"; readonly closedIssue: "已关闭"; readonly opened: "创建了"; readonly commentPlaceholder: "使用 Markdown 编写评论"; readonly attachFiles: "粘贴、拖放或选择要附加的文件"; readonly noneYet: "暂无"; readonly noOne: "未指定"; readonly noDate: "无日期"; readonly targetDate: "目标日期"; readonly closeIssue: "关闭任务"; readonly labels: "标签"; readonly unlabeled: "未标签"; readonly addLabel: "新建标签"; readonly renameLabel: "重命名标签"; readonly deleteLabel: "删除标签"; readonly noLabels: "暂无标签"; readonly labelName: "标签名称"; readonly unlabeledTasks: "未标签任务"; readonly edited: "已编辑"; readonly workspaceId: "Harness Workspace ID"; readonly blankGlobal: "留空表示全局项目"; readonly globalProject: "全局项目"; readonly workspace: "Workspace"; readonly noProjectLabels: "无项目标签"; readonly tasksWord: "个任务"; readonly activeWord: "进行中"; readonly agentPreset: "Agent 预设"; readonly modelRoute: "模型路由"; readonly reasoning: "推理强度"; readonly intervalSeconds: "间隔(秒)"; readonly workers: "工作器数"; readonly quota: "配额策略"; readonly pauseUncertain: "配额不确定时暂停"; readonly ignore: "忽略"; readonly autoPauseEmpty: "无任务时自动暂停"; readonly model: "模型"; readonly hostDefault: "Host 默认"; readonly stayEnabled: "保持启用"; readonly status: "状态"; readonly ganttZoom: "甘特缩放"; readonly days30: "30 天"; readonly days90: "90 天"; readonly oneYear: "1 年"; readonly noDatedTasks: "暂无已排期任务"; readonly workflowName: "工作流名称"; readonly nodeKind: "节点类型"; readonly newTabName: "新标签页名称"; readonly triggerKind: "触发器类型"; readonly tab: "标签页"; readonly deleteWorkflow: "删除工作流"; readonly installedCapabilities: "已安装能力"; readonly skillDiscovery: "Skill 发现"; readonly completeWord: "已完成"; readonly refreshing: "刷新中/不完整"; readonly skill: "Skill"; readonly mcp: "MCP"; readonly copy: "复制"; readonly trueLabel: "真"; readonly falseLabel: "假"; readonly assignee: "负责人"; readonly workflow: "工作流"; readonly developmentContext: "开发上下文"; readonly none: "无"; readonly branch: "分支"; readonly worktree: "Worktree"; readonly worktreePath: "Worktree 路径"; readonly start: "开始"; readonly daily: "每天"; readonly weekly: "每周"; readonly monthly: "每月"; readonly developmentRequired: "当前开发上下文需要分支和 Worktree 路径。"; readonly resume: "恢复"; readonly cancel: "取消"; readonly reopen: "重新打开"; readonly takeover: "强制接管"; readonly delete: "删除"; readonly confirm: "确认"; readonly reason: "原因"; readonly permanentlyDelete: "永久删除"; readonly participants: "参与者"; readonly creator: "创建者"; readonly actors: "操作者"; readonly attachComment: "附加到评论"; readonly relationKind: "关系类型"; readonly relatedTask: "关联任务"; readonly selectTask: "选择任务"; readonly add: "添加"; readonly bytes: "字节"; readonly current: "当前"; readonly offline: "离线"; readonly urgent: "紧急"; readonly high: "高"; readonly medium: "中"; readonly low: "低"; readonly enabled: "已启用"; readonly paused: "已暂停"; readonly more: "更多"; readonly moreRemaining: "还有 {count} 个"; readonly modify: "修改"; readonly runNow: "立即执行"; readonly recheckIntegrity: "重新校验"; readonly lastChecked: "上次校验"; readonly never: "尚未校验"; readonly tasksTruncated: "仅显示 {shown} / {total} 个任务,请用搜索或状态筛选缩小范围。"; readonly relationSourceUnloaded: "关系源任务未加载,请先用搜索定位该任务"; readonly showPreview: "预览"; readonly hidePreview: "收起预览"; readonly cleanupStalled: "清理失败已放弃"; readonly unsavedChanges: "未保存的修改"; readonly unsavedBody: "这个任务有未保存的修改,关闭后会丢失。"; readonly discardChanges: "放弃修改"; readonly keepEditing: "继续编辑"; readonly automationLog: "自动化运行日志"; readonly automationClaimed: "读取待办并开始执行 {task}"; readonly automationEmpty: "已检查待办,当前没有可执行的任务"; readonly automationFull: "工作器已满,本次未启动新任务"; readonly automationBlocked: "已检查待办,任务因依赖未完成而跳过"; readonly automationQuota: "配额不确定,已暂停新认领"; readonly automationError: "执行失败:{message}"; readonly openedMinutesAgo: "创建了 {count} 分钟前"; readonly openedHoursAgo: "创建了 {count} 小时前"; readonly openedDaysAgo: "创建了 {count} 天前"; readonly openedOnDate: "创建了 {date}"; }; readonly en: { readonly taskboard: "Taskboard"; readonly close: "Close Taskboard"; readonly newTask: "New task"; readonly title: "Title"; readonly description: "Description"; readonly create: "Create"; readonly dashboard: "Dashboard"; readonly board: "Board"; readonly list: "List"; readonly gantt: "Gantt"; readonly workflows: "Workflows"; readonly other: "Other Tasks"; readonly backlog: "Backlog"; readonly todo: "Todo"; readonly in_progress: "In progress"; readonly in_review: "In review"; readonly blocked: "Blocked"; readonly done: "Done"; readonly canceled: "Canceled"; readonly empty: "No tasks"; readonly noProject: "No project yet — create one to start adding tasks"; readonly refresh: "Refresh"; readonly approve: "Approve for work"; readonly accept: "Accept"; readonly archive: "Archive"; readonly restore: "Restore"; readonly save: "Save"; readonly closeDetail: "Close details"; readonly dismiss: "Close"; readonly comment: "Comment"; readonly addComment: "Add comment"; readonly project: "Project"; readonly addProject: "New project"; readonly projectName: "Project name"; readonly projectKey: "Project key"; readonly due: "Due"; readonly recentTasks: "Recent tasks"; readonly priority: "Priority"; readonly loading: "Reading local task data…"; readonly workflowNote: "Saved workflows are added to the Agent task context as execution guidance; the scheduler does not run nodes automatically."; readonly search: "Search tasks"; readonly allStatuses: "All statuses"; readonly deleteProject: "Delete project"; readonly editProject: "Edit project"; readonly newSession: "Open in new session"; readonly workspaceRequired: "Map a Workspace to this project first"; readonly sessionTaskMustBeActive: "Approve or resume the task before starting a linked Session."; readonly comments: "Comments"; readonly activity: "Activity"; readonly attachments: "Attachments"; readonly relations: "Relations"; readonly sessions: "Linked sessions"; readonly automation: "Automation"; readonly enable: "Enable"; readonly pause: "Pause"; readonly nextRun: "Next run"; readonly lastDecision: "Last decision"; readonly addAutomation: "New automation"; readonly addWorkflow: "New workflow"; readonly addStep: "Add step"; readonly designOnly: "Design only"; readonly executable: "Executable"; readonly returnWork: "Return for rework"; readonly openSession: "Open session"; readonly storageHealth: "Local storage health"; readonly healthy: "Healthy"; readonly degraded: "Needs attention"; readonly cleanupPending: "Pending attachment cleanup"; readonly orphanedClaims: "Orphaned claims"; readonly undo: "Undo last edit"; readonly today: "Today"; readonly showCompleted: "Show completed"; readonly recurrence: "Recurrence"; readonly noRecurrence: "None"; readonly interval: "Interval"; readonly until: "Repeat until"; readonly write: "Write"; readonly preview: "Preview"; readonly edit: "Edit"; readonly markdownToolbar: "Markdown toolbar"; readonly mdHeading: "Heading"; readonly mdBold: "Bold"; readonly mdItalic: "Italic"; readonly mdQuote: "Quote"; readonly mdCode: "Code"; readonly mdLink: "Link"; readonly mdBullet: "Bullet list"; readonly mdNumber: "Numbered list"; readonly descriptionPlaceholder: "Write the task details in Markdown"; readonly openIssue: "Open"; readonly closedIssue: "Closed"; readonly opened: "opened"; readonly commentPlaceholder: "Use Markdown to format your comment"; readonly attachFiles: "Paste, drop, or choose files to attach"; readonly noneYet: "None yet"; readonly noOne: "No one"; readonly noDate: "No date"; readonly targetDate: "Target date"; readonly closeIssue: "Close issue"; readonly labels: "Labels"; readonly unlabeled: "No label"; readonly addLabel: "New label"; readonly renameLabel: "Rename label"; readonly deleteLabel: "Delete label"; readonly noLabels: "No labels yet"; readonly labelName: "Label name"; readonly unlabeledTasks: "Unlabeled tasks"; readonly edited: "edited"; readonly workspaceId: "Harness Workspace ID"; readonly blankGlobal: "Blank = global project"; readonly globalProject: "Global project"; readonly workspace: "Workspace"; readonly noProjectLabels: "No project labels"; readonly tasksWord: "tasks"; readonly activeWord: "active"; readonly agentPreset: "Agent preset"; readonly modelRoute: "Model route"; readonly reasoning: "Reasoning"; readonly intervalSeconds: "Interval (seconds)"; readonly workers: "Workers"; readonly quota: "Quota"; readonly pauseUncertain: "Pause when uncertain"; readonly ignore: "Ignore"; readonly autoPauseEmpty: "Auto-pause when empty"; readonly model: "Model"; readonly hostDefault: "host default"; readonly stayEnabled: "stay enabled"; readonly status: "Status"; readonly ganttZoom: "Gantt zoom"; readonly days30: "30 days"; readonly days90: "90 days"; readonly oneYear: "1 year"; readonly noDatedTasks: "No dated tasks"; readonly workflowName: "Workflow name"; readonly nodeKind: "Node kind"; readonly newTabName: "New tab name"; readonly triggerKind: "Trigger kind"; readonly tab: "Tab"; readonly deleteWorkflow: "Delete workflow"; readonly installedCapabilities: "Installed capabilities"; readonly skillDiscovery: "Skill discovery"; readonly completeWord: "complete"; readonly refreshing: "refreshing/incomplete"; readonly skill: "Skill"; readonly mcp: "MCP"; readonly copy: "Copy"; readonly trueLabel: "True"; readonly falseLabel: "False"; readonly assignee: "Assignee"; readonly workflow: "Workflow"; readonly developmentContext: "Development context"; readonly none: "None"; readonly branch: "Branch"; readonly worktree: "Worktree"; readonly worktreePath: "Worktree path"; readonly start: "Start"; readonly daily: "daily"; readonly weekly: "weekly"; readonly monthly: "monthly"; readonly developmentRequired: "Branch and worktree path are required for the selected development context."; readonly resume: "Resume"; readonly cancel: "Cancel"; readonly reopen: "Reopen"; readonly takeover: "Force takeover"; readonly delete: "Delete"; readonly confirm: "Confirm"; readonly reason: "reason"; readonly permanentlyDelete: "Permanently delete"; readonly participants: "Participants"; readonly creator: "Creator"; readonly actors: "Actors"; readonly attachComment: "Attach to comment"; readonly relationKind: "Relation kind"; readonly relatedTask: "Related task"; readonly selectTask: "Select task"; readonly add: "Add"; readonly bytes: "bytes"; readonly current: "current"; readonly offline: "offline"; readonly urgent: "Urgent"; readonly high: "High"; readonly medium: "Medium"; readonly low: "Low"; readonly enabled: "Enabled"; readonly paused: "Paused"; readonly more: "More"; readonly moreRemaining: "{count} more"; readonly modify: "Modify"; readonly runNow: "Run now"; readonly recheckIntegrity: "Re-check"; readonly lastChecked: "Last checked"; readonly never: "not checked yet"; readonly tasksTruncated: "Showing {shown} of {total} tasks. Narrow the view with search or the status filter."; readonly relationSourceUnloaded: "The source task is not loaded; find it with search first"; readonly showPreview: "Preview"; readonly hidePreview: "Hide preview"; readonly cleanupStalled: "Cleanup gave up"; readonly unsavedChanges: "Unsaved changes"; readonly unsavedBody: "This task has unsaved edits. Closing now discards them."; readonly discardChanges: "Discard changes"; readonly keepEditing: "Keep editing"; readonly automationLog: "Automation run log"; readonly automationClaimed: "Read Todo and started {task}"; readonly automationEmpty: "Checked Todo; no eligible tasks to run"; readonly automationFull: "Workers are busy; no new task was started"; readonly automationBlocked: "Checked Todo; tasks are waiting on dependencies"; readonly automationQuota: "Quota is uncertain; new claims are paused"; readonly automationError: "Run failed: {message}"; readonly openedMinutesAgo: "opened {count}m ago"; readonly openedHoursAgo: "opened {count}h ago"; readonly openedDaysAgo: "opened {count}d ago"; readonly openedOnDate: "opened on {date}"; }; }; export type TaskboardCopy = { readonly [K in keyof typeof zh]: string; }; export type TaskboardLocaleId = keyof typeof taskboardLocales; export type TaskboardCopyKey = keyof TaskboardCopy; /** Pick zh when the Harness/browser tag is Chinese; otherwise English. */ export declare function resolveTaskboardLocale(language: string): TaskboardLocaleId; export declare function taskboardStrings(language: string): TaskboardCopy; export declare function interpolate(template: string, params: Record): string; export declare function priorityLabel(t: TaskboardCopy, priority: TaskPriority): string; export declare function formatOpenedAt(createdAt: number, t: TaskboardCopy): string; export declare function formatAutomationLog(t: TaskboardCopy, decision: AutomationDecision, taskLabel?: string): string; export interface TaskboardLocaleSource { readonly subscribe: (listener: () => void) => () => void; readonly getSnapshot: () => { readonly active: string; }; } export interface TaskboardLocaleRuntime extends TaskboardLocaleSource { register(ns: string, dicts: { zh: Record; en: Record; }): () => void; } /** Bind the Harness locale service so the native page follows its language. */ export declare function bindTaskboardLocale(source?: TaskboardLocaleSource): () => void; export declare function browserLanguage(): string; export declare function currentTaskboardLanguage(): string; export declare function subscribeTaskboardLocale(listener: () => void): () => void; export {}; //# sourceMappingURL=locales.d.ts.map