import { type ModelName } from './models.js'; export declare function readWave(filename: string): AudioData; export declare function convertToWav(inputPath: string): Promise; export type SenseVoiceLanguage = 'auto' | 'zh' | 'en' | 'ja' | 'ko' | 'yue'; export type AsrOptions = { json: boolean; model: ModelName; modelPath?: string | undefined; language?: SenseVoiceLanguage; }; export type AudioData = { sampleRate: number; samples: Float32Array; }; export declare function runAsr(input: string | AudioData, options: AsrOptions): Promise;