interface ParentContext { current: unknown; } /** * The parent context is used to access the parent object created by a `` * component. */ export declare const createParentContext: (parent: () => T | undefined) => { readonly current: T | undefined; }; /** * The parent context is used to access the parent object created by a `` * component. * * @example * ```svelte * * * * ``` * * The parent as retrieved inside the component `` * will be the mesh created by the `` component. */ export declare const useParent: () => ParentContext; /*********************************/ /** Will be removed in Threlte 9 */ /*********************************/ type MaybeParentGetter = T | undefined | (() => T | undefined); export declare const createParentContext_deprecated: (parent: MaybeParentGetter) => { readonly current: T | undefined; }; export declare const useParent_deprecated: () => import("../../utilities/currentWritable.js").CurrentReadable; export {};