export type AiSummaryState =
  | {status: 'idle'}
  | {status: 'recording'}
  | {status: 'compressing'}
  | {status: 'uploading'; audioUri: string}
  | {status: 'summarizing'; audioUri: string}
  | {status: 'done'; audioUri: string; transcript: string; summary: string}
  | {status: 'error'; error: string; audioUri?: string; durationInMs?: number};

export type AiSummaryStatus = AiSummaryState['status'];
