import type { LiveComponent, LiveElement } from '@use-gpu/live'; import type { OffscreenRenderContext, TextureTarget } from '@use-gpu/core'; export type RenderToTextureProps = { target?: OffscreenRenderContext; render?: (texture: TextureTarget) => LiveElement; children?: LiveElement | ((texture: TextureTarget) => LiveElement); }; /** Render to a given off-screen target, or the current target (if inside a `@{}`). */ export declare const RenderToTexture: LiveComponent;