import { GpuShaderDefinition } from '../../gpu/porters'; import { transformPosition, transformColor } from '../../utilities/transformations'; export interface ComponentProps { /** * Starting point of the beam * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":0.2,"y":0.5} */ startPosition: Parameters[0]; /** * Ending point of the beam * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":0.8,"y":0.5} */ endPosition: Parameters[0]; /** * Thickness at the start of the beam * * @default 0.2 */ startThickness: number; /** * Thickness at the end of the beam * * @default 0.2 */ endThickness: number; /** * Edge softness at the start of the beam * * @default 0.5 */ startSoftness: number; /** * Edge softness at the end of the beam * * @default 0.5 */ endSoftness: number; /** * Color at the center of the beam * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#FF0000" */ insideColor: Parameters[0]; /** * Color at the edges of the beam * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#0000FF" */ outsideColor: Parameters[0]; /** * Color space for color interpolation * * Accepts one of the predefined option values. * @default "linear" */ colorSpace: string; } export declare const componentDefinition: GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map