import * as react from 'react'; import { c as ModelViewerLabels, R as ReducedMotionSetting } from './materialVariants-DnZe9eMC.js'; export { D as DEFAULT_MODEL_VIEWER_LABELS, M as MaterialVariantGroup, a as MaterialVariantOption, b as ModelViewerLabelKey } from './materialVariants-DnZe9eMC.js'; import { V as ViewerLoading, c as ViewerReveal, M as ModelFormat, b as ViewerModelInfo } from './modelInfo-XfUQO7C_.js'; export { a as ViewerModelBounds } from './modelInfo-XfUQO7C_.js'; import { PresetsType } from '@react-three/drei/helpers/environment-assets'; type SimpleModelViewerProps = { /** Plain-text overrides for built-in viewer text. */ labels?: ModelViewerLabels; modelUrl: string; /** * An image shown in the viewer's place until its 3D view is drawn: a render * or photo of the model, best framed as the viewer frames it. */ poster?: string; /** * `"lazy"` (default) starts the 3D view when the viewer is on or near the * screen. When the page needs room for viewers in view, one scrolled away * from goes back to a picture of itself, and comes back as it was. `"eager"` * starts at once and keeps its view. */ loading?: ViewerLoading; /** * `"interaction"` keeps the poster, with a "View in 3D" button, until the * visitor asks for the 3D view. Default `"auto"`. */ reveal?: ViewerReveal; /** Explicit format for extensionless or signed model URLs. */ modelFormat?: ModelFormat; /** Directory containing the DRACO decoder files, or false. */ dracoDecoderPath?: string | false; /** Directory containing the Basis/KTX2 transcoder files, or false. */ ktx2TranscoderPath?: string | false; /** Enable the bundled Meshopt decoder. Defaults to true. */ meshopt?: boolean; backgroundColor?: string; showSceneObjectsPanel?: boolean; showSceneSettingsPanel?: boolean; enableModelUpload?: boolean; zoomOnSelected?: boolean; highlightOnHover?: boolean; showLoadingOverlay?: boolean; refitOnResize?: boolean; /** * Cuts motion the viewer starts on its own: auto-rotate doesn't start, and * camera moves jump instead of gliding. `"user"` (default) follows the * visitor's `prefers-reduced-motion` setting; `"always"` and `"never"` * override it. */ reducedMotion?: ReducedMotionSetting; backgroundEnabled?: boolean; autoRotate?: boolean; envPreset?: PresetsType; exposure?: number; ambientIntensity?: number; ambientColor?: string; directionalIntensity?: number; directionalColor?: string; /** The model finished loading: its bounds and mesh count. */ onModelLoaded?: (model: ViewerModelInfo) => void; onLoadError?: (error: unknown) => void; }; declare function SimpleModelViewer(props: SimpleModelViewerProps): react.JSX.Element; export { ModelFormat, ModelViewerLabels, ReducedMotionSetting, SimpleModelViewer, type SimpleModelViewerProps, ViewerLoading, ViewerModelInfo, ViewerReveal };