import type { BaseConfig, BaseProps } from '@studiometa/js-toolkit'; import { FigureVideo } from './FigureVideo.js'; export interface FigureVideoTwicpicsProps extends BaseProps { $refs: { video: HTMLVideoElement; }; $options: { lazy: boolean; transform: string; domain: string; path: string; step: number; mode: string; }; } /** * FigureVideoTwicpics class. * * Manager lazyloading image sources. * @link https://ui.studiometa.dev/components/FigureVideoTwicpics/ */ export declare class FigureVideoTwicpics extends FigureVideo { /** * Config. */ static config: BaseConfig; /** * Get the Twicpics path. */ get path(): string; /** * Get the Twicpics domain. */ get domain(): string; /** * Format the source for Twicpics. * @param {string} src * @param {Array} options * @returns {string} */ formatSrc(src: string, options?: Array): string; /** * Load poster */ loadPoster(): Promise; /** * Load sources */ loadSources(): Promise; /** * Reassign the source from the original on resize. */ resized(): Promise; /** * Do not terminate on image load as we need to set the src on resize. */ onLoad(): void; }