///
import { Application } from '@splinetool/runtime';
import type { SPEObject, SplineEvent, SplineEventName } from '@splinetool/runtime';
export type { SPEObject, SplineEvent, SplineEventName };
/**
* How the scene's HTML content (authored in the editor's HTML frame and
* shipped inside the .splinecode) is presented over the canvas:
* - `inline` (default): the content and its scripts run directly in this
* page, with `window.spline` bound to the Application — no postMessage
* latency. Same default as Spline's own exports. Only safe when this page's
* author is also the scene's author: inline scripts run with the page's
* origin.
* - `sandbox`: a sandboxed iframe with an opaque origin, so the content's
* scripts can't touch the host page. Use it for scenes you didn't author.
* - `none`: don't present the HTML content.
*
* Needs a `@splinetool/runtime` version that supports HTML content; older
* runtimes ignore the option.
*/
export type HtmlContentMode = 'sandbox' | 'inline' | 'none';
export interface SplineProps extends Omit, 'onLoad'> {
scene: string;
onLoad?: (e: Application) => void;
onSplineMouseDown?: (e: SplineEvent) => void;
onSplineMouseUp?: (e: SplineEvent) => void;
onSplineMouseHover?: (e: SplineEvent) => void;
onSplineKeyDown?: (e: SplineEvent) => void;
onSplineKeyUp?: (e: SplineEvent) => void;
onSplineStart?: (e: SplineEvent) => void;
onSplineLookAt?: (e: SplineEvent) => void;
onSplineFollow?: (e: SplineEvent) => void;
onSplineScroll?: (e: SplineEvent) => void;
renderOnDemand?: boolean;
wasmPath?: string;
htmlContentMode?: HtmlContentMode;
}
declare const Spline: import("react").ForwardRefExoticComponent>;
export default Spline;