import { ActiveMediaFailedCode } from '@zoom/videosdk';

export type MediaFailedConfig = {
    messageKey: string;
    mutesMic?: boolean;
    stopVideo?: boolean;
    stopSharing?: boolean;
    reloadPage?: boolean;
    requestPermission?: 'audio' | 'video';
};
export declare const MEDIA_FAILED_CONFIGS: Record<ActiveMediaFailedCode, MediaFailedConfig>;
type ShowMediaFailedDialogParams = {
    config: MediaFailedConfig;
    alert: (opts: {
        message: string;
    }) => void;
    confirm: (opts: {
        header: string;
        message: string;
        onAccept: () => void | Promise<void>;
    }) => void;
    t: (key: string) => string;
};
export declare const showMediaFailedDialog: ({ config, alert, confirm, t }: ShowMediaFailedDialogParams) => void;
export {};
