import type { Component } from 'svelte'; import * as THREE from 'three'; import TComp from './T.svelte'; import type { Props } from './types.js'; type Extensions = Record; type ThreeCatalogue = { [K in keyof typeof THREE]: (typeof THREE)[K]; }; type TComponentProxy = { [K in keyof ThreeCatalogue]: Component, {}, 'ref'>; }; /** * Extends the default THREE namespace and allows using custom Three.js objects with ``. * * @example * ```svelte * * * * ``` */ export declare const extend: (extensions: Extensions) => void; /** * ## `` * * Threlte's `` component is a wrapper around Three.js objects. It is a generic component that can be used to create any Three.js object. * * @example * * ```svelte * * * * * * * * * ``` */ export declare const T: typeof TComp & TComponentProxy & { [Key in keyof Threlte.UserCatalogue]: Component, {}, "ref">; } & Record; export {};