import { MutableRefObject } from 'react';
import { default as ZoomVideo } from '@zoom/videosdk';

type LocalAudioTrack = ReturnType<typeof ZoomVideo.createLocalAudioTrack>;
type UseSpeakerTesterParams = {
    localAudioRef: MutableRefObject<LocalAudioTrack | null>;
    activeSpeakerId: string;
};
type UseSpeakerTesterResult = {
    isSpeakerTesting: boolean;
    speakerLevel: number;
    handleSpeakerTest: () => void;
    stopSpeakerTest: () => void;
};
export declare const useSpeakerTester: ({ localAudioRef, activeSpeakerId }: UseSpeakerTesterParams) => UseSpeakerTesterResult;
export {};
