import { GpuShaderDefinition } from '../../gpu/porters'; import { transformAngle, transformColor, transformPosition } from '../../utilities/transformations'; export interface ComponentProps { /** * The engraving cut: a single line plate, cross-hatched plates building up the shadows, or one continuous spiral * * Accepts one of: `"line"`, `"crosshatch"`, `"spiral"`. * @default "crosshatch" */ style: string; /** * Line density — how many engraved lines span the height of the canvas * * @default 90 */ frequency: number; /** * Direction of the base line work (in degrees) * * @default 8 */ angle: Parameters[0]; /** * Center the spiral coils outward from * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":0.5,"y":0.5} */ center: Parameters[0]; /** * How strongly the image brightness displaces the lines — the engraved * * @default 0.6 */ relief: number; /** * Organic meander of the line work, like a hand-pulled burin stroke * * @default 0.35 */ waviness: number; /** * Tonal contrast applied before the lines are cut — higher pushes mid-tones toward pure line or pure paper * * @default 1.15 */ contrast: number; /** * Color of the engraved ink * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#1a1410" */ inkColor: Parameters[0]; /** * Paper color shown between the lines * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#f4eee2" */ paperColor: Parameters[0]; } export declare const componentDefinition: GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map