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

type LocalAudioTrack = ReturnType<typeof ZoomVideo.createLocalAudioTrack>;
export type MicState = 'idle' | 'recording' | 'playing';
type UseMicTesterParams = {
    localAudioRef: MutableRefObject<LocalAudioTrack | null>;
    activeMicId: string;
    activeSpeakerId: string;
};
type UseMicTesterResult = {
    micState: MicState;
    micLevel: number;
    handleMicTest: () => Promise<void>;
    stopMicTest: () => void;
};
export declare const useMicTester: ({ localAudioRef, activeMicId, activeSpeakerId }: UseMicTesterParams) => UseMicTesterResult;
export {};
