import { EventEmitter } from "node:events";
import type { TurnDetectionSession } from "../../../turn-detection-provider.js";
export interface SherpaSileroVadSessionConfig {
    modelPath?: string;
    sampleRate?: number;
    threshold?: number;
    minSilenceDuration?: number;
    minSpeechDuration?: number;
    windowSize?: number;
    bufferSizeInSeconds?: number;
}
export declare class SherpaSileroVadSession extends EventEmitter implements TurnDetectionSession {
    readonly requiredSampleRate: number;
    private readonly vad;
    private readonly inputBuffer;
    private readonly windowSize;
    private connected;
    private inSpeech;
    private readonly logger;
    constructor(params: {
        logger: {
            debug: (...args: unknown[]) => void;
        };
        config?: SherpaSileroVadSessionConfig;
    });
    connect(): Promise<void>;
    appendPcm16(pcm16le: Buffer): void;
    flush(): void;
    close(): void;
    private syncDetectionState;
}
//# sourceMappingURL=silero-vad-session.d.ts.map