import { z } from "zod"; import type { WidgetGenerator } from "../../widgets/types"; /** * Creates a diagram to render fundamental geometric primitives. This widget can display * a single point, a line segment between two points, a ray starting from a point, a line * passing through two points, or a curved arc. It is designed for basic geometric * illustrations where the focus is on the object and its labeled points rather than a * full coordinate plane. The layout is determined by high-level properties like rotation * and length, not explicit coordinates. */ export declare const GeometricPrimitiveDiagramPropsSchema: z.ZodObject<{ type: z.ZodLiteral<"geometricPrimitiveDiagram">; width: z.ZodNumber; height: z.ZodNumber; primitive: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"point">; pointOne: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"segment">; pointOne: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; pointTwo: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; rotation: z.ZodNumber; length: z.ZodNullable; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"ray">; pointOne: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; pointTwo: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; rotation: z.ZodNumber; length: z.ZodNullable; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"line">; pointOne: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; pointTwo: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; rotation: z.ZodNumber; length: z.ZodNullable; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"arc">; pointOne: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; pointTwo: z.ZodObject<{ label: z.ZodNullable; }, z.core.$strict>; rotation: z.ZodNumber; length: z.ZodNullable; bulge: z.ZodNumber; }, z.core.$strict>], "type">; }, z.core.$strict>; export type GeometricPrimitiveDiagramProps = z.infer; /** * Generates an SVG diagram for a single geometric primitive. */ export declare const generateGeometricPrimitiveDiagram: WidgetGenerator; //# sourceMappingURL=geometric-primitive-diagram.d.ts.map