import { Component } from '../../component'; import { TresContext } from './context'; export interface TresCanvasProps { /** Enable shadows */ shadows?: boolean; /** Pixel ratio (defaults to window.devicePixelRatio) */ dpr?: number; /** Canvas width */ width?: string; /** Canvas height */ height?: string; /** Enable debug mode (shows stats) */ debug?: boolean; /** Error handler */ onError?: (error: Error) => void; /** Called when context is ready */ onReady?: (context: TresContext) => void; } /** * TresCanvas - A canvas component for rendering Three.js scenes in GXT * * Usage: * ```gts * * * * * * * ``` * * With options: * ```gts * * ... * * ``` */ export declare function TresCanvas(this: Component): Component | import('../../control-flow/if').IfCondition | import('../../control-flow/list').AsyncListComponent | import('../../control-flow/list').SyncListComponent;