import * as React from 'react'; import { PreviewCamera, PreviewEmote, PreviewOptions, PreviewProjection, WearableWithBlobs } from '@dcl/schemas/dist/dapps/preview'; import { BodyShape } from '@dcl/schemas'; import './WearablePreview.css'; export declare type WearablePreviewProps = { id?: string; contractAddress?: string; tokenId?: string; itemId?: string; profile?: string; urns?: string[]; urls?: string[]; base64s?: string[]; blob?: WearableWithBlobs; skin?: string; hair?: string; eyes?: string; emote?: PreviewEmote; bodyShape?: BodyShape; camera?: PreviewCamera; projection?: PreviewProjection; zoom?: number; background?: string; offsetX?: number; offsetY?: number; offsetZ?: number; cameraX?: number; cameraY?: number; cameraZ?: number; wheelZoom?: number; wheelPrecision?: number; wheelStart?: number; disableBackground?: boolean; disableAutoRotate?: boolean; disableAutoCenter?: boolean; disableFace?: boolean; disableDefaultWearables?: boolean; disableDefaultEmotes?: boolean; disableFadeEffect?: boolean; dev?: boolean; baseUrl?: string; peerUrl?: string; nftServerUrl?: string; onLoad?: () => void; onError?: (error: Error) => void; onUpdate?: (options: PreviewOptions) => void; }; declare type WearablePreviewState = { url?: string; isReady: boolean; pendingOptions: PreviewOptions | null; lastOptions: PreviewOptions | null; }; export declare class WearablePreview extends React.PureComponent { static defaultProps: { dev: boolean; baseUrl: string; onLoad: () => void; onError: () => void; onUpdate: () => void; }; static createController(id: string): import("@dcl/schemas").IPreviewController; state: WearablePreviewState; iframe: HTMLIFrameElement | null; getUrl: () => string; getOptions: () => PreviewOptions; handleMessage: (event: MessageEvent) => void; handleUpdate: () => void; sendUpdate: (options: PreviewOptions) => void; componentDidMount(): void; componentWillUnmount(): void; componentDidUpdate(): void; refIframe: (iframe: HTMLIFrameElement | null) => void; render(): JSX.Element; } export {};