import type { LiveComponent, LiveElement } from '@use-gpu/live'; import type { DataTexture, TextureSource } from '@use-gpu/core'; export type RawTextureProps = { /** Texture data */ data: DataTexture; /** MIPs */ mip?: number | boolean; /** Texture sampler */ sampler?: GPUSamplerDescriptor; /** Resample data every animation frame */ live?: boolean; /** Sample in absolute pixels instead of relative UVs */ absolute?: boolean; /** Convert RGBA to premultiplied alpha before upload */ premultiply?: boolean; /** Leave empty to yeet source(s) instead. */ render?: (source: TextureSource) => LiveElement; }; /** Use numeric texture data as a 2D texture. */ export declare const RawTexture: LiveComponent;