import { transformAngle, transformColor } from '../../utilities/transformations'; export interface ComponentProps { /** * Halftone rendering style * * Accepts one of: `"classic"`, `"cmyk"`. * @default "classic" */ style: string; /** * Frequency of the halftone dots * * @default 100 */ frequency: number; /** * Rotation angle of the pattern (in degrees) * * @default 45 */ angle: Parameters[0]; /** * Screen angle for the cyan plate (in degrees) * * @default 15 */ cyanAngle: Parameters[0]; /** * Screen angle for the magenta plate (in degrees) * * @default 75 */ magentaAngle: Parameters[0]; /** * Screen angle for the yellow plate (in degrees) * * @default 0 */ yellowAngle: Parameters[0]; /** * Screen angle for the black plate (in degrees) * * @default 45 */ blackAngle: Parameters[0]; /** * Simulated mis-registration between plates. Plates are offset around the misprint angle, producing colour fringing at the edges of inked regions. * * @default 0 */ misprint: number; /** * Direction the plates drift apart. Rotating this rotates the colour-fringing pattern. * * @default 0 */ misprintAngle: Parameters[0]; /** * Paper/substrate color shown where no ink lands * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#ffffff" */ paperColor: Parameters[0]; /** * Cyan ink color * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#00ffff" */ cyanColor: Parameters[0]; /** * Magenta ink color * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#ff00ff" */ magentaColor: Parameters[0]; /** * Yellow ink color * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#ffff00" */ yellowColor: Parameters[0]; /** * Black (key) ink color * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#000000" */ blackColor: Parameters[0]; } export declare const componentDefinition: import('../..').GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map