import React,{ReactNode}from'react';type LiteralUnion=T|(P&{_?:never;});type Anchor=`bottom`|`bottom-left`|`bottom-right`|`center`|`left`|`top`|`top-left`|`top-right`|`right`;type BreakPoint=`xs`|`sm`|`md`|`lg`|`xl`|`2xl`;type CrossOrigin=LiteralUnion<`anonymous`|`use-credentials`>;type Decoding=LiteralUnion<`sync`|`async`|`auto`>;type Environment=`debug`|`offline`|`production`;type Mode=`contain`|`cover`;type Placeholder=`maincolor`|`meancolor`|`none`|`preview`;type ReferrerPolicy=LiteralUnion<`no-referrer`|`no-referrer-when-downgrade`|`origin`|`origin-when-cross-origin`|`same-origin`|`strict-origin`|`strict-origin-when-cross-origin`|`unsafe-url`>;type StateEvent={target:any;state:State;};type State=`error`|`done`|`loading`|`new`;interface Attributes{alt?:string;anchor?:string;focus?:string;eager?:boolean|string;position?:string;preTransform?:string;ratio?:number|string;src:string;title?:string;}interface ScriptAttributes{bot?:string;intrinsic?:string;mode?:Mode;placeholder?:Placeholder;step?:number|string;transition?:boolean|string;transitionDelay?:string;transitionDuration?:string;transitionTimingFunction?:string;}interface Options{anticipation?:number;breakpoints?:{[key in BreakPoint]?:number;};class?:string;debug?:boolean;domain:string;env?:Environment;handleShadowDom?:boolean;maxDPR?:number;path?:string;scriptElementId?:string;step?:number;}declare const installTwicPics:(options:Options)=>void;type onStateChangeType=(stateEvent:StateEvent)=>void;interface HtmlDivAttributes{draggable?:boolean;id?:string;role?:React.AriaRole;style?:React.CSSProperties;tabIndex?:number;}interface HtmlImageAttributes{crossOrigin?:CrossOrigin;decoding?:Decoding;referrerPolicy?:ReferrerPolicy;}interface BaseAttributes extends Attributes{className?:string;onStateChange?:onStateChangeType;}interface ImgAttributes extends BaseAttributes,HtmlDivAttributes,HtmlImageAttributes,ScriptAttributes{refit?:boolean|string;zoom?:number|string;}interface BackgroundAttributes extends BaseAttributes,HtmlDivAttributes,ScriptAttributes{refit?:boolean|string;mediaTag?:string;}interface PictureAttributes extends BaseAttributes,HtmlDivAttributes,HtmlImageAttributes{fetchpriority?:string;mode?:Mode;refit?:boolean|string;sizes?:string;}interface VideoAttributes extends BaseAttributes,HtmlDivAttributes,ScriptAttributes{crossOrigin?:CrossOrigin;duration?:number|string;from?:number|string;posterFrom?:number|string;to?:number|string;}declare const TwicBackground:React.FC;declare const TwicImg:React.FC;interface InstallAttributes{anticipation?:number|string;breakpoints?:{[key in BreakPoint]?:number;};class?:string;debug?:boolean;domain:string;env?:Environment;handleShadowDom?:boolean;maxDPR?:number|string;path?:string;step?:number|string;}declare const TwicInstall:React.FC;declare const TwicPicture:React.FC;declare const TwicVideo:React.FC;interface ViewAttributes{children:ReactNode;}declare const TwicView:React.FC;declare const installTwicpics:(options:Options)=>void;export{Anchor,Environment,Mode,Placeholder,State,StateEvent,TwicBackground,TwicImg,TwicInstall,TwicPicture,TwicVideo,TwicView,installTwicPics,installTwicpics};