/** * Kit message IDs, all under `ai-kit.` so they cannot collide with an app * catalog. Use these constants — catalogs `satisfies` the same map, so a typo * or missing string is a type error. */ export declare const MSG: { readonly actionLog: { readonly showSteps: "ai-kit.actionLog.showSteps"; readonly hideSteps: "ai-kit.actionLog.hideSteps"; readonly showDetails: "ai-kit.actionLog.showDetails"; readonly hideDetails: "ai-kit.actionLog.hideDetails"; readonly statusNotStarted: "ai-kit.actionLog.statusNotStarted"; readonly statusInProgress: "ai-kit.actionLog.statusInProgress"; readonly statusSuccess: "ai-kit.actionLog.statusSuccess"; readonly statusError: "ai-kit.actionLog.statusError"; }; readonly bottomSheet: { readonly close: "ai-kit.bottomSheet.close"; readonly resize: "ai-kit.bottomSheet.resize"; readonly resizeValue: "ai-kit.bottomSheet.resizeValue"; }; readonly link: { readonly opensInNewTab: "ai-kit.link.opensInNewTab"; }; readonly markdown: { readonly tableRegion: "ai-kit.markdown.tableRegion"; }; readonly menu: { readonly opensInNewTab: "ai-kit.menu.opensInNewTab"; }; readonly messageToolbar: { readonly copy: "ai-kit.messageToolbar.copy"; readonly copied: "ai-kit.messageToolbar.copied"; readonly retry: "ai-kit.messageToolbar.retry"; readonly like: "ai-kit.messageToolbar.like"; readonly removeLike: "ai-kit.messageToolbar.removeLike"; readonly dislike: "ai-kit.messageToolbar.dislike"; readonly removeDislike: "ai-kit.messageToolbar.removeDislike"; readonly feedbackThanks: "ai-kit.messageToolbar.feedbackThanks"; readonly userActions: "ai-kit.messageToolbar.userActions"; readonly assistantActions: "ai-kit.messageToolbar.assistantActions"; }; readonly promptBar: { readonly placeholder: "ai-kit.promptBar.placeholder"; readonly add: "ai-kit.promptBar.add"; readonly removeAttachment: "ai-kit.promptBar.removeAttachment"; readonly speak: "ai-kit.promptBar.speak"; readonly cancel: "ai-kit.promptBar.cancel"; readonly send: "ai-kit.promptBar.send"; readonly stop: "ai-kit.promptBar.stop"; readonly done: "ai-kit.promptBar.done"; readonly dismiss: "ai-kit.promptBar.dismiss"; readonly disclaimer: "ai-kit.promptBar.disclaimer"; readonly opensInNewTab: "ai-kit.promptBar.opensInNewTab"; }; readonly citation: { readonly opensInNewTab: "ai-kit.citation.opensInNewTab"; }; readonly appShell: { readonly resizeRail: "ai-kit.appShell.resizeRail"; readonly resizeArtifact: "ai-kit.appShell.resizeArtifact"; readonly railDrawer: "ai-kit.appShell.railDrawer"; readonly artifactDrawer: "ai-kit.appShell.artifactDrawer"; }; readonly window: { readonly label: "ai-kit.window.label"; }; readonly chatHistory: { readonly newChat: "ai-kit.chatHistory.newChat"; readonly list: "ai-kit.chatHistory.list"; readonly unread: "ai-kit.chatHistory.unread"; readonly recents: "ai-kit.chatHistory.recents"; }; readonly agentPrompt: { readonly close: "ai-kit.agentPrompt.close"; readonly otherPlaceholder: "ai-kit.agentPrompt.otherPlaceholder"; readonly send: "ai-kit.agentPrompt.send"; readonly back: "ai-kit.agentPrompt.back"; readonly next: "ai-kit.agentPrompt.next"; readonly emptyError: "ai-kit.agentPrompt.emptyError"; readonly step: "ai-kit.agentPrompt.step"; }; readonly disclosure: { readonly expand: "ai-kit.disclosure.expand"; readonly collapse: "ai-kit.disclosure.collapse"; }; readonly tabbedLayout: { readonly layoutOptions: "ai-kit.tabbedLayout.layoutOptions"; readonly layoutMenu: "ai-kit.tabbedLayout.layoutMenu"; readonly modeStacked: "ai-kit.tabbedLayout.modeStacked"; readonly modeVerticalSplit: "ai-kit.tabbedLayout.modeVerticalSplit"; readonly modeHorizontalSplit: "ai-kit.tabbedLayout.modeHorizontalSplit"; readonly close: "ai-kit.tabbedLayout.close"; readonly resizePanes: "ai-kit.tabbedLayout.resizePanes"; readonly tabs: "ai-kit.tabbedLayout.tabs"; }; readonly chatLayout: { readonly conversation: "ai-kit.chatLayout.conversation"; readonly scrollToBottom: "ai-kit.chatLayout.scrollToBottom"; }; readonly text: { readonly showMore: "ai-kit.text.showMore"; readonly showLess: "ai-kit.text.showLess"; }; readonly diffValue: { readonly empty: "ai-kit.diffValue.empty"; readonly removed: "ai-kit.diffValue.removed"; readonly changedFromTo: "ai-kit.diffValue.changedFromTo"; }; readonly table: { readonly selectAll: "ai-kit.table.selectAll"; readonly deselectAll: "ai-kit.table.deselectAll"; readonly selectRow: "ai-kit.table.selectRow"; readonly deselectRow: "ai-kit.table.deselectRow"; }; readonly agentMediaCard: { readonly download: "ai-kit.agentMediaCard.download"; }; readonly mediaAttachment: { readonly play: "ai-kit.mediaAttachment.play"; readonly pause: "ai-kit.mediaAttachment.pause"; readonly seek: "ai-kit.mediaAttachment.seek"; readonly playVideo: "ai-kit.mediaAttachment.playVideo"; }; readonly guidanceCard: { readonly suggestedChanges: "ai-kit.guidanceCard.suggestedChanges"; readonly suggestionsAccepted: "ai-kit.guidanceCard.suggestionsAccepted"; readonly suggestionsRejected: "ai-kit.guidanceCard.suggestionsRejected"; readonly suggestionsSkipped: "ai-kit.guidanceCard.suggestionsSkipped"; readonly accept: "ai-kit.guidanceCard.accept"; readonly edit: "ai-kit.guidanceCard.edit"; readonly reject: "ai-kit.guidanceCard.reject"; readonly reasonPrefix: "ai-kit.guidanceCard.reasonPrefix"; }; readonly suggestionList: { readonly label: "ai-kit.suggestionList.label"; }; }; /** * Flattened union of every {@link MSG} id. Maps each group first so * group-specific keys are not dropped by indexing a union of groups. */ export type AiKitMessageId = { [G in keyof typeof MSG]: (typeof MSG)[G][keyof (typeof MSG)[G]]; }[keyof typeof MSG]; /** A complete AI Kit catalog: every ID mapped to a string for one locale. */ export type AiKitCatalog = Record;