import { PosterOption, VideoInfoResponse } from './types'; export declare const DEFAULT_POSTER_OPTIONS: Array; /** * Normalize video URI to extract file ID from various URI formats: * "video/11062b_1072b496dd8744b2bc19c2f030d8abf6/1080p.mp4" -> "11062b_1072b496dd8744b2bc19c2f030d8abf6" * "11062b_1072b496dd8744b2bc19c2f030d8abf6" -> "11062b_1072b496dd8744b2bc19c2f030d8abf6" */ export declare const normalizeVideoUri: (uri: string | undefined) => string | undefined; /** * Format poster URL for display using image-kit's getData for optimized thumbnails. * Falls back to a plain static media URL when source dimensions are unavailable. */ export declare const formatPosterUrl: (uri: string, width?: number, height?: number) => string | undefined; /** * Normalize URI for comparison purposes */ export declare const normalizeUri: (uri: string) => string; /** * Check if two URIs match after normalization */ export declare const urisMatch: (uri1: string, uri2: string) => boolean; /** * Populate poster options from video info response * Populates slots 1, 2, 3 with the first 3 fetched images * Slot 0 remains empty for adding new images */ export declare const populatePosterOptionsFromVideoInfo: (videoInfo: VideoInfoResponse, options: Array) => void; /** * Fetch video info and populate poster options */ export declare const fetchAndPopulateVideoPosters: (videoUri: string, options: Array) => Promise; /** * Find the index of a matching poster option by normalized URI */ export declare const findMatchingPosterIndex: (options: Array, normalizedPosterUri: string) => number; /** * Apply current poster selection to options * If poster matches a fetched poster, select it in that slot * Otherwise, show it in slot 0 as a custom poster */ export declare const applyCurrentPosterSelection: (options: Array, currentPoster: { uri: string; name?: string; width?: number; height?: number; }) => void;