export default Webgl; type Webgl = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial): void; }; /** WebGL layout component */ declare const Webgl: import("svelte").Component<{ /** * The `` element. A useful prop to bind to. */ element?: HTMLCanvasElement | undefined; /** * The WebGL rendering context for the canvas. A useful prop to bind to. */ context?: WebGLRenderingContext | null | undefined; /** * Attributes to pass to the WebGL context. */ contextAttributes?: Object | undefined; /** * Set the layout's z-index. */ zIndex?: number | undefined; /** * Set this to `false` to set `pointer-events: none;` on all of this layout's layers. */ pointerEvents?: boolean | undefined; /** * Fallback text to display when the canvas is not supported. */ fallback?: string | undefined; /** * A string passed to the `aria-label` on the `` element. */ label?: string | undefined; /** * A string passed to the `aria-labelledby` on the `` element. */ labelledBy?: string | undefined; /** * A string passed to the `aria-describedby` property on the `` element. */ describedBy?: string | undefined; children?: import("svelte").Snippet<[{ element: HTMLCanvasElement | undefined; context: WebGLRenderingContext | null; }]> | undefined; }, {}, "element" | "context">; type Props = { /** * The `` element. A useful prop to bind to. */ element?: HTMLCanvasElement | undefined; /** * The WebGL rendering context for the canvas. A useful prop to bind to. */ context?: WebGLRenderingContext | null | undefined; /** * Attributes to pass to the WebGL context. */ contextAttributes?: Object | undefined; /** * Set the layout's z-index. */ zIndex?: number | undefined; /** * Set this to `false` to set `pointer-events: none;` on all of this layout's layers. */ pointerEvents?: boolean | undefined; /** * Fallback text to display when the canvas is not supported. */ fallback?: string | undefined; /** * A string passed to the `aria-label` on the `` element. */ label?: string | undefined; /** * A string passed to the `aria-labelledby` on the `` element. */ labelledBy?: string | undefined; /** * A string passed to the `aria-describedby` property on the `` element. */ describedBy?: string | undefined; children?: import("svelte").Snippet<[{ element: HTMLCanvasElement | undefined; context: WebGLRenderingContext | null; }]> | undefined; };