import { transformColor } from '../../utilities/transformations'; export interface ComponentProps { /** * Dithering pattern algorithm * * Accepts one of: `"bayer2"`, `"bayer4"`, `"bayer8"`, `"clusteredDot"`, `"blueNoise"`, `"whiteNoise"`, `"floydSteinberg"`. * @default "bayer4" */ pattern: string; /** * Size of dithering pixels * * Accepts a number between 1 and 20. * @default 4 */ pixelSize: number; /** * Luminance threshold for dithering * * @default 0.5 */ threshold: number; /** * How much of the luminance range participates in dithering (lower = more solid areas) * * @default 1 */ spread: number; /** * How colors are determined * * Accepts one of: `"custom"`, `"source"`. * @default "custom" */ colorMode: string; /** * Dark color for dithering * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "transparent" */ colorA: Parameters[0]; /** * Light color for dithering * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#ffffff" */ colorB: Parameters[0]; } export declare const componentDefinition: import('../..').GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map