import { InterventionRequestMedia } from '../../intervention-request'; /** * InterventionRequest Picture * @description Picture component * @author ravorona */ export declare class InterventionRequestPicture { /** * Own properties */ private strategyInstance?; private isWebp; private nativeLoading; private observer; /** * Component element reference */ el: HTMLElement; /** * Source */ src: string; /** * Alt attribute */ alt: string; /** * Crop attribute */ crop?: string; /** * Fit attribute */ fit?: string; /** * Width attribute */ width?: number; /** * Height attribute */ height?: number; /** * Strategy */ strategy: string; /** * Base URL */ baseUrl: string; /** * Source list */ media?: InterventionRequestMedia; /** * Mime type */ mimeType?: string; /** * Force intersection observer * for lazy load */ forceIo?: boolean; /** * Loading type */ loading: 'lazy' | 'eager' | 'auto'; /** * Media loaded */ private loaded; /** * Loading completed event emitter */ private loadingCompleted; sourceHandler(): void; /** * Component wiill load * Component lifecycle method * @return void */ componentWillLoad(): void; /** * Component did load * Component lifecycle method * @return void */ componentDidLoad(): void; /** * Init intersection observer */ private initObserver; /** * Intersection observer callback * @param entries */ private onIntersect; /** * Load media * Toggle attributes */ private loadMedia; /** * Load media * Toggle attribures */ private resetMedia; /** * Media ready */ onReady(): void; /** * On error */ onError(): void; /** * Build picture tag * @return HTMLPictureElement */ private buildPicture; /** * Component render * Component lifecycle method * @return HTMLInterventionRequestPictureElement */ render(): HTMLInterventionRequestPictureElement; }