import { type Writable } from 'svelte/store'; import { AnimationMixer, type AnimationAction } from 'three'; import type { GLTF } from 'three/examples/jsm/loaders/GLTFLoader'; /** * Convenience hook to use animations loaded with a threlte component. * * ### Example * * ```svelte * * * * ``` * @param callback * @returns */ export declare function useGltfAnimations>>(callback?: (args: { actions: Actions; mixer: AnimationMixer; }) => void): { gltf: Writable; mixer: Writable; actions: Writable; }; export declare function useGltfAnimations>>(gltf: Writable, callback?: (args: { actions: Actions; mixer: AnimationMixer; }) => void): { gltf: Writable; mixer: Writable; actions: Writable; };