import type { WebGLRenderer } from 'three'; import { type CameraContext } from '../fragments/camera.svelte.js'; import { type DOMContext } from '../fragments/dom.svelte.js'; import { type Renderer, type RendererContext } from '../fragments/renderer.svelte.js'; import { type SceneContext } from '../fragments/scene.js'; import { type SchedulerContext } from '../fragments/scheduler.svelte.js'; /** * ### `ThrelteContext` * * This is the main context of a Threlte application. * It's exposed to the user via the hook `useThrelte`. */ export interface ThrelteContext extends Omit, Omit, RendererContext, SceneContext, Omit { } /** * ### `useThrelte` * * This hook provides access to the main context of a Threlte application. * * ```svelte * * ``` */ export declare const useThrelte: () => ThrelteContext;