import React from 'react';
import { ViewStyle } from 'react-native';
import { Resolution } from './NativeApiVideoLiveStreamView';
export type PredefinedResolution = '240p' | '360p' | '480p' | '720p' | '1080p';
type ApiVideoLiveStreamProps = {
    style?: ViewStyle;
    camera?: 'front' | 'back';
    video?: {
        bitrate?: number;
        fps?: number;
        resolution?: Resolution | PredefinedResolution;
        gopDuration?: number;
    };
    isMuted?: boolean;
    audio?: {
        bitrate?: number;
        sampleRate?: 5500 | 11025 | 22050 | 44100;
        isStereo?: boolean;
    };
    zoomRatio?: number;
    enablePinchedZoom?: boolean;
    onConnectionSuccess?: () => void;
    onConnectionFailed?: (code: string) => void;
    onDisconnect?: () => void;
    onPermissionsDenied?: (permissions: string[]) => void;
};
export type ApiVideoLiveStreamMethods = {
    startStreaming: (streamKey: string, url?: string) => Promise<boolean>;
    stopStreaming: () => void;
    setZoomRatio: (zoomRatio: number) => void;
};
declare const ApiVideoLiveStreamView: React.ForwardRefExoticComponent<ApiVideoLiveStreamProps & React.RefAttributes<ApiVideoLiveStreamMethods>>;
export { ApiVideoLiveStreamView };
export type { Resolution } from './NativeApiVideoLiveStreamView';
//# sourceMappingURL=index.d.ts.map