import { GpuShaderDefinition } from '../../gpu/porters'; import { transformPosition } from '../../utilities/transformations'; export interface ComponentProps { /** * How far the sweep has travelled (0 = fully visible, 1 = fully wiped away) * * @default 0.5 */ progress: number; /** * Angle in degrees where the sweep begins * * @default 0 */ startAngle: number; /** * Which way the sweep rotates * * Accepts one of: `"cw"`, `"ccw"`, `"both"`. * @default "cw" */ direction: string; /** * Point the sweep rotates around * * 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]; /** * Softness of the sweeping edge * * @default 0.1 */ feather: number; /** * Reverse which side of the sweep is wiped * * Accepts a boolean value (`true` or `false`). * @default false */ invert: boolean; } export declare const componentDefinition: GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map