import * as React from "react"; import { ViewProps, StyleProp, ViewStyle } from "react-native"; export type PublishOptions = { videoWidth?: number; videoHeight?: number; videoBitrate?: number; audioBitrate?: number; }; export type Props = ViewProps & { style?: StyleProp; muted?: boolean; cameraPosition?: "front" | "back"; onPublishStarted?: () => void; onPublishStopped?: () => void; onPublishError?: (error: string) => void; onReady?: () => void; ref?: React.ForwardedRef; }; export interface IExpoCameraRtmpPublisherForward { startPublishing(url: string, name: string, options?: PublishOptions): Promise; stopPublishing(): Promise; switchCamera(): Promise; toggleTorch(level: number): Promise; onPublishStarted(): void; onPublishStopped(): void; onPublishError(error: string): void; } declare const _default: React.ForwardRefExoticComponent & React.RefAttributes>; export default _default; //# sourceMappingURL=ExpoCameraRtmpPublisherView.d.ts.map