import type GatewayService from '@/services/GatewayService';
export interface WebRTCLipSyncDeps {
    getGatewayService: () => GatewayService | null;
    getCore: () => any | null;
    onTTSPlaybackFinalized: () => void;
    addTTSTextToHistory: (text: string) => void;
    getCurrentTTSText: () => string;
    startTTSPlaying: () => void;
}
export declare class WebRTCLipSync {
    private deps;
    private webrtcLipSyncFrames;
    private webrtcLipSyncAnimationId;
    private webrtcTTSStartTime;
    private webrtcA2FStreamId;
    private lastLipSyncFrameIndex;
    private lipSyncStartTime;
    private firstAudioOffset;
    isWebRTCTTSMode: boolean;
    constructor(deps: WebRTCLipSyncDeps);
    start(): void;
    stop(): void;
    addFrame(audioOffset: number, blendShape: number[], streamId?: string): void;
    clearFrames(): void;
    private findClosestFrame;
    destroy(): void;
}
//# sourceMappingURL=WebRTCLipSync.d.ts.map