import { MetricMediaTypes } from './metric-queue-flush'; type CreateMetricTypes = { paused: boolean; volume: number; muted: boolean; rate: number; media?: MetricMediaTypes; externalId?: string; }; export default function useMetric({ media, externalId, paused, volume, muted, rate, }: CreateMetricTypes): { onMetricLoadStart: () => void; onMetricLoad: (data: Readonly<{ currentTime: number; duration: number; naturalSize: Readonly<{ width: number; height: number; orientation: import("react-native/Libraries/Types/CodegenTypes").WithDefault<"landscape" | "portrait", "landscape">; }>; audioTracks: { index: number; title?: string; language?: string; bitrate?: number; type?: string; selected?: boolean; }[]; textTracks: { index: number; title?: string; language?: string; type?: import("react-native/Libraries/Types/CodegenTypes").WithDefault<"srt" | "ttml" | "vtt", "srt">; selected?: boolean; }[]; videoTracks: { index: number; tracksID?: string; codecs?: string; width?: number; height?: number; bitrate?: number; selected?: boolean; }[]; }>) => void; onMetricSeek: (data: Readonly<{ currentTime: import("react-native/Libraries/Types/CodegenTypes").Float; seekTime: import("react-native/Libraries/Types/CodegenTypes").Float; }>) => void; onMetricProgress: (data: Readonly<{ currentTime: import("react-native/Libraries/Types/CodegenTypes").Float; playableDuration: import("react-native/Libraries/Types/CodegenTypes").Float; seekableDuration: import("react-native/Libraries/Types/CodegenTypes").Float; }>) => void; onMetricEnd: () => void; onMetricEnterFullScreen: () => void; onMetricExitFullScreen: () => void; onMetricError: (error: Readonly<{ error: Readonly<{ errorString?: string; errorException?: string; errorStackTrace?: string; errorCode?: string; error?: string; code?: import("react-native/Libraries/Types/CodegenTypes").Int32; localizedDescription?: string; localizedFailureReason?: string; localizedRecoverySuggestion?: string; domain?: string; }>; target?: import("react-native/Libraries/Types/CodegenTypes").Int32; }>) => void; }; export {}; //# sourceMappingURL=use-metric.d.ts.map