import type { ColorSpace, LambdaSource, Lazy, TypedArray, UniformFormat } from '@use-gpu/core'; import type { ShaderModule } from '@use-gpu/shader'; export type SourceLike = Partial<{ length: Lazy; size: Lazy; texture: { label?: string; }; view: { label?: string; }; format: UniformFormat | string; layout: string; aspect: string; colorSpace: ColorSpace; label: string; id: string; }>; export declare const useLambdaSource: (shader: ShaderModule, sourceProps: SourceLike) => LambdaSource; export declare const getLambdaSource: (shader: ShaderModule, sourceProps: SourceLike) => LambdaSource;