import type { AnnulusOptions } from "primitive-geometry/types/src/annulus"; import type { BoxOptions } from "primitive-geometry/types/src/box"; import type { CapsuleOptions } from "primitive-geometry/types/src/capsule"; import type { CircleOptions } from "primitive-geometry/types/src/circle"; import type { ConeOptions } from "primitive-geometry/types/src/cone"; import type { CubeOptions } from "primitive-geometry/types/src/cube"; import type { CylinderOptions } from "primitive-geometry/types/src/cylinder"; import type { DiscOptions } from "primitive-geometry/types/src/disc"; import type { EllipseOptions } from "primitive-geometry/types/src/ellipse"; import type { EllipsoidOptions } from "primitive-geometry/types/src/ellipsoid"; import type { IcosahedronOptions } from "primitive-geometry/types/src/icosahedron"; import type { IcosphereOptions } from "primitive-geometry/types/src/icosphere"; import type { PlaneOptions } from "primitive-geometry/types/src/plane"; import type { QuadOptions } from "primitive-geometry/types/src/quad"; import type { ReuleuxOptions } from "primitive-geometry/types/src/reuleux"; import type { RoundedCubeOptions } from "primitive-geometry/types/src/rounded-cube"; import type { RoundedCubeOptions as RoundedRectangleOptions } from "primitive-geometry/types/src/rounded-rectangle"; import type { SphereOptions } from "primitive-geometry/types/src/sphere"; import type { SquircleOptions } from "primitive-geometry/types/src/squircle"; import type { StadiumOptions } from "primitive-geometry/types/src/stadium"; import type { SuperellipseOptions } from "primitive-geometry/types/src/superellipse"; import type { TetrahedronOptions } from "primitive-geometry/types/src/tetrahedron"; import type { TorusOptions } from "primitive-geometry/types/src/torus"; import type { Synth } from "../synth"; import { Model } from "./model"; declare const Primitives: { readonly box: (synth: Synth, props: BoxOptions) => Model; readonly circle: (synth: Synth, props: CircleOptions) => Model; readonly quad: (synth: Synth, props: QuadOptions) => Model; readonly plane: (synth: Synth, props: PlaneOptions) => Model; readonly roundedRectangle: (synth: Synth, props: RoundedRectangleOptions) => Model; readonly stadium: (synth: Synth, props: StadiumOptions) => Model; readonly ellipse: (synth: Synth, props: EllipseOptions) => Model; readonly disc: (synth: Synth, props: DiscOptions) => Model; readonly superellipse: (synth: Synth, props: SuperellipseOptions) => Model; readonly squircle: (synth: Synth, props: SquircleOptions) => Model; readonly annulus: (synth: Synth, props: AnnulusOptions) => Model; readonly reuleux: (synth: Synth, props: ReuleuxOptions) => Model; readonly cube: (synth: Synth, props: CubeOptions) => Model; readonly roundedCube: (synth: Synth, props: RoundedCubeOptions) => Model; readonly sphere: (synth: Synth, props: SphereOptions) => Model; readonly icosphere: (synth: Synth, props: IcosphereOptions) => Model; readonly ellipsoid: (synth: Synth, props: EllipsoidOptions) => Model; readonly cylinder: (synth: Synth, props: CylinderOptions) => Model; readonly cone: (synth: Synth, props: ConeOptions) => Model; readonly capsule: (synth: Synth, props: CapsuleOptions) => Model; readonly torus: (synth: Synth, props: TorusOptions) => Model; readonly tetrahedron: (synth: Synth, props: TetrahedronOptions) => Model; readonly icosahedron: (synth: Synth, props: IcosahedronOptions) => Model; readonly poly: (synth: Synth, props: PolygonProps) => Model; readonly polygon: (synth: Synth, props: PolygonProps) => Model; readonly triangle: (synth: Synth, props: { s: number; sx: number; sy: number; }) => Model; readonly rect: (synth: Synth, props: { s: number; sx: number; sy: number; }) => Model; readonly line: (synth: Synth, props: { s: number; sx: number; sy: number; }) => Model; }; export declare function triangulate(positions: number[], holes: number[] | null, stride?: number): Uint8Array; type PolygonProps = { sides: number; sx?: number; sy?: number; s?: number; a?: number; }; export { Primitives };