import type { IShot, ShotBase } from '../interfaces/core'; import { HttpClient } from '../utils/httpClient'; /** * A shot is a clip of a specific video */ export declare class Shot implements IShot { #private; readonly videoId: string; readonly videoLength: number; readonly videoTitle: string; readonly start: number; readonly end: number; readonly text?: string; readonly searchScore?: number; readonly sceneIndexId?: string; readonly sceneIndexName?: string; readonly metadata?: Record; streamUrl?: string; playerUrl?: string; constructor(http: HttpClient, data: ShotBase); /** * Get the streaming URL for the shot * @returns A streaming URL for the shot */ generateStream: () => Promise; /** * Generate stream and open in browser * @returns The player URL */ play: () => Promise; }