import { type Uniforms } from "@shopify/react-native-skia"; import type { SharedValue } from "react-native-reanimated"; /** * Whether the split effect compiled. Callers must gate any `` whose ONLY * paint is this shader on it — without the shader child the path fills with the * default paint (opaque black). A fallback `color` prop can't stand in instead: * Skia multiplies the shader output by the paint alpha, so a transparent color * erases the shader's own output too. */ export declare const THRESHOLD_SPLIT_AVAILABLE: boolean; interface ThresholdSplitShaderProps { /** * Per-frame uniforms (built in `useThresholdSplitUniforms`): `sampleLeft` / * `sampleRight` (the gliding sample-grid span, px), `aboveColor` / `belowColor` * (straight-alpha `[r, g, b, a]` vec4s, channels 0..1) and `samples` * (`THRESHOLD_SAMPLE_COUNT` threshold pixel-Y values on the grid). */ uniforms: SharedValue; } /** * The split `RuntimeShader` as a paint child — drop it inside a stroked line * `` or a filled band ``, like a ``. */ export declare function ThresholdSplitShader({ uniforms }: ThresholdSplitShaderProps): import("react").JSX.Element | null; export {}; //# sourceMappingURL=ThresholdSplitShader.d.ts.map