import type { LiveComponent } from '@use-gpu/live'; import type { Lazy, VectorLike } from '@use-gpu/core'; import type { ShaderModule, ShaderSource } from '@use-gpu/shader'; export type KernelProps = { shader: ShaderModule; source?: ShaderSource; sources?: ShaderSource[]; args?: Lazy[]; initial?: boolean; version?: number; history?: boolean | number; size?: Lazy; swap?: boolean; }; /** Runs a compute kernel on the current compute context. Provides: - `@link fn getSize() -> vec2 {};` Unnamed arguments linked in the order of: args, sources, source, targets, history. */ export declare const Kernel: LiveComponent;