import { GpuShaderDefinition } from '../../gpu/porters'; import { transformColor } from '../../utilities/transformations'; declare const transformSource: (value: string) => number; declare const transformColorMode: (value: string) => number; export interface ComponentProps { /** * Number of contour levels * * @default 5 */ levels: number; /** * Width of the contour lines in pixels * * @default 2 */ lineWidth: number; /** * Edge softness of the lines (0 = sharp, 1 = soft) * * Accepts a number between 0 and 1. * @default 0 */ softness: number; /** * Contour distribution. <1 clusters in bright, >1 clusters in dark * * @default 0.5 */ gamma: number; /** * Invert the source values * * Accepts a boolean value (`true` or `false`). * @default false */ invert: boolean; /** * Use luminance or alpha channel for contours * * Accepts one of: `"luminance"`, `"alpha"`. * @default "luminance" */ source: Parameters[0]; /** * Use source image colors or custom colors * * Accepts one of: `"source"`, `"custom"`. * @default "source" */ colorMode: Parameters[0]; /** * Color of the contour lines (custom mode) * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#000000" */ lineColor: Parameters[0]; /** * Background color (custom mode) * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "transparent" */ backgroundColor: Parameters[0]; } export declare const componentDefinition: GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map