import { default as React } from 'react'; import { BlendMode, PropDriver, TransformConfig, BoundingBoxConfig, LayoutConfig } from '../../core'; import { ComponentProps } from '../../core/shaders/Glass'; export type { ComponentProps }; /** * Base props that all shader components have */ interface BaseShaderProps { children?: React.ReactNode; blendMode?: BlendMode; opacity?: number; visible?: boolean; id?: string; maskSource?: string; maskType?: string; renderOrder?: number; transform?: Partial; boundingBox?: Partial; flow?: LayoutConfig; absolute?: boolean; ref?: React.Ref; } /** * Component-specific props that merge base props with shader-specific props * Note: ComponentProps are made optional since they have defaults from the shader definition */ type ShaderComponentProps = BaseShaderProps & Partial> & { center?: ComponentProps['center'] | PropDriver; scale?: ComponentProps['scale'] | PropDriver; refraction?: ComponentProps['refraction'] | PropDriver; edgeSoftness?: ComponentProps['edgeSoftness'] | PropDriver; thickness?: ComponentProps['thickness'] | PropDriver; aberration?: ComponentProps['aberration'] | PropDriver; innerZoom?: ComponentProps['innerZoom'] | PropDriver; highlight?: ComponentProps['highlight'] | PropDriver; highlightSoftness?: ComponentProps['highlightSoftness'] | PropDriver; fresnel?: ComponentProps['fresnel'] | PropDriver; fresnelSoftness?: ComponentProps['fresnelSoftness'] | PropDriver; tintIntensity?: ComponentProps['tintIntensity'] | PropDriver; }; /** * The main React wrapper component for Shader shader nodes */ export declare const ShaderComponent: React.FC; export default ShaderComponent; //# sourceMappingURL=Glass.d.ts.map