import { FeatureContext, HatGenome, Point2, Vec3, Weighted } from "../types.js"; //#region src/features/hats.d.ts type HatFn = (c: FeatureContext, g: HatGenome) => void; interface Band { poly: Point2[]; lower: Point2[]; upper: Point2[]; } interface BandOptions { v0: number; v1: number; grow?: number; axis?: Vec3; segments?: number; } /** A filled band between two latitudes -- brims, headbands, bandanas. */ declare function band(c: FeatureContext, { v0, v1, grow, axis, segments }: BandOptions): Band | null; declare const hats: Record; declare const HAT_WEIGHTS: Weighted; declare function drawHat(c: FeatureContext): void; //#endregion export { HAT_WEIGHTS, HatFn, band, drawHat, hats };