Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

402 B
Raw Blame
export type VoicePhase = 'idle' | 'recording' | 'transcribing' | 'error';

export type VoiceErrorReason =
  | 'permission-denied'
  | 'no-device'
  | 'no-audio'
  | 'not-recording'
  | 'already-recording'
  | 'missing-api-key'
  | 'stream-ended'
  | 'unsupported'
  | 'unknown';

export interface VoiceUpdate {
  phase: VoicePhase;
  reason?: VoiceErrorReason;
  error?: string;
  narrated?: number;
}