// Whisper voice transcription stub
// To enable voice transcription, install whisper and implement this module

import { readFile } from "fs/promises";

export interface TranscribeOptions {
  debug?: boolean;
  log?: (message: string) => void;
}

export async function transcribeAudioToText(
  audioPath: string,
  _options?: TranscribeOptions
): Promise<string> {
  // Stub implementation - returns a message indicating transcription is not configured
  const content = await readFile(audioPath);
  return `[Voice message received - ${content.length} bytes. Transcription not configured.]`;
}
