/// import type { BBContentType, LoadClipOptions, LoadContext, BBPlayerState } from "./BBPlayer.types"; /** * Creates command functions for the BBPlayerView ref. * Uses NativeModule for reliable command dispatch on both Old and New Architecture. */ export declare function createCommands(viewRef: React.RefObject): { play: () => void; pause: () => void; seek: (position: number) => void; seekRelative: (offsetSeconds: number) => void; setMuted: (muted: boolean) => void; setVolume: (volume: number) => void; enterFullscreen: () => void; enterFullscreenLandscape: () => void; exitFullscreen: () => void; presentModal: () => void; closeModal: () => void; collapse: () => void; expand: () => void; autoPlayNextCancel: () => void; destroy: () => void; unload: () => void; showCastPicker: () => void; updatePlayout: (playoutJson: string) => void; /** @deprecated Use loadWithContentIdAndType() instead */ loadClip: (clipId: string, options?: LoadClipOptions) => void; loadWithClipId: (clipId: string, initiator?: string, autoPlay?: boolean, seekTo?: number, context?: LoadContext) => void; loadWithClipListId: (clipListId: string, initiator?: string, autoPlay?: boolean, seekTo?: number, context?: LoadContext) => void; loadWithProjectId: (projectId: string, initiator?: string, autoPlay?: boolean, seekTo?: number, context?: LoadContext) => void; loadWithClipJson: (clipJson: string, initiator?: string, autoPlay?: boolean, seekTo?: number, context?: LoadContext) => void; loadWithClipListJson: (clipListJson: string, initiator?: string, autoPlay?: boolean, seekTo?: number, context?: LoadContext) => void; loadWithProjectJson: (projectJson: string, initiator?: string, autoPlay?: boolean, seekTo?: number, context?: LoadContext) => void; loadWithJsonUrl: (jsonUrl: string, autoPlay?: boolean, context?: LoadContext) => void; loadWithContentIdAndType: (contentId: string, contentType: BBContentType, autoPlay?: boolean, context?: LoadContext) => void; setInView: (inView: boolean) => void; getDuration: () => Promise; getMuted: () => Promise; getVolume: () => Promise; getPhase: () => Promise; getState: () => Promise; getMode: () => Promise; getClipData: () => Promise<{ id?: string; title?: string; description?: string; length?: number; } | null>; getProjectData: () => Promise<{ id?: string; name?: string; } | null>; getPlayoutData: () => Promise<{ name?: string; } | null>; getInView: () => Promise; getAdMediaWidth: () => Promise; getAdMediaHeight: () => Promise; getIsCasting: () => Promise; getCastDeviceName: () => Promise; endCastSession: () => void; /** * Get the complete player state as a structured object. * Aggregates all individual getter calls into a single BBPlayerState object. */ getPlayerState: () => Promise; }; //# sourceMappingURL=NativeCommands.d.ts.map