/**
 * UI label strings — i18n is the host's job. Pass overrides via
 * `ChatConfig.labels` and merge with `DEFAULT_LABELS`.
 */

export interface ChatLabels {
  send: string;
  cancel: string;
  copy: string;
  regenerate: string;
  edit: string;
  delete: string;
  retry: string;
  newChat: string;
  loadMore: string;
  jumpToLatest: string;
  attach: string;
  voice: string;
  errorGeneric: string;
  cancelledSuffix: string;
}

export const DEFAULT_LABELS: ChatLabels = {
  send: 'Send',
  cancel: 'Stop',
  copy: 'Copy',
  regenerate: 'Regenerate',
  edit: 'Edit',
  delete: 'Delete',
  retry: 'Retry',
  newChat: 'New chat',
  loadMore: 'Load more',
  jumpToLatest: 'Jump to latest',
  attach: 'Attach files',
  voice: 'Voice input',
  errorGeneric: 'Something went wrong',
  cancelledSuffix: '[cancelled]',
};
