///
import * as ref from 'ref-napi';
export declare class Whisper {
context: ref.Pointer;
params: any;
whisperLib: any;
prompt_tokens: Array;
static readonly WHISPER_SAMPLE_RATE = 16000;
static readonly n_samples_step: number;
static readonly n_samples_len: number;
static readonly n_samples_keep: number;
static readonly n_samples_30s: number;
constructor(dllPath: string, model: string);
pcm16sto32f(pcm16: Buffer): Buffer;
prepare(pcm16: Buffer): number[];
text: string;
lines: string[];
pcmf32: Array;
pcmf32_new: Array;
transcribe(arr: Array): string;
transcribe2(arr: Array): {
text: string;
partial?: undefined;
} | {
partial: string;
text?: undefined;
};
static vad_simple(pcmf32: number[], sampleRate: number, lastMs: number, vadThold: number, freqThold: number, verbose: boolean): boolean;
static highPassFilter(data: number[], cutoff: number, sampleRate: number): number[];
}