/** * The composer's user-facing copy, renderer-free so web and native composers * (and hosts translating them) share one message catalog. */ import type { SlashCommand } from "./commands/types.js"; import { type OpenGeniText } from "./messages/runtime.js"; export type ChatComposerMessages = { messagePlaceholder: string; pausedPlaceholder: string; inputLabel: string; keyboardHint: string; slashCommandBlocked: string; controlChangedError: string; sendFailedError: string; dropFiles: string; attachFiles: string; pauseAriaLabel: string; pauseTitle: string; /** Stop control shown while a response runs (`runControl="stop"`). */ stopAriaLabel?: string | undefined; stopTitle?: string | undefined; sendMessageAriaLabel: string; sendAndResumeAriaLabel: string; sendTitle: string; /** Send tooltip while a busy Send steers (`busySend="steer"`). */ steerSendTitle?: string | undefined; /** * The alternate action beside Send while the agent works: Steer when Send * queues, Queue when Send steers. */ steerLabel?: string | undefined; steerTitle?: string | undefined; queueLabel?: string | undefined; queueTitle?: string | undefined; sendAndResumeTitle: string; annotationNotesRequired: string; workspacePaused: string; pausedHere: string; parentBlocker: string; narrowerPause: string; pausedBy: (displayName: string) => string; queuedAhead: (count: number) => string; resumingAndSending: string; nextMessageResumes: string; resumeThisWorkstream: string; resumeShort: string; hidePauseDetails: string; showPauseDetails: string; pauseReasonsLabel: string; pausedByLabel: string; alsoPausedByLabel: string; resumeWorkspace: string; resumeFromSession: string; sessionCanRun: string; stillPausedBy: (displayName: string) => string; restoredResourcesLabel: string; restoredFile: (fileId: string) => string; removeRestoredResource: (index: number) => string; uploading: string; uploadFailed: string; previewAttachment: (name: string) => string; previewUnavailable?: string | undefined; attachmentPreviewLabel: string; downloadAttachment: (name: string) => string; closeAttachmentPreview: string; retryAttachment: (name: string) => string; retryUpload: string; removeAttachment: (name: string) => string; confirmCommand: (name: string) => string; confirmDescription: (command: SlashCommand) => string; cancel: string; runCommand: (name: string) => string; commands: string; slashCommandsLabel: string; modelLabel: string; close: string; danger: string; draftConflict: string; useOtherDraft: string; keepMine: string; savingDraft: string; formatBytes: (bytes: number) => string; formatRelativeTime: (changedAt: string) => string; }; export declare const defaultChatComposerMessages: (t: OpenGeniText) => ChatComposerMessages;