import type * as Template from '../serial/serial-types'; import { RectangleSprite } from '../controllers/sprites/Rectangle'; import { OvalSprite } from '../controllers/sprites/Oval'; import { PolygonSprite } from '../controllers/sprites/Polygon'; import { CornerOptions } from '../controllers/sprites/Rectangle'; import { PathCommand } from '../idml'; import { Box, PathFeature, SurfaceInput } from '../serial/builders'; export declare function cornerRadii(corners: CornerOptions | undefined, _box: Box): [number, number, number, number]; export declare function cornersAreSimple(corners: CornerOptions | undefined): boolean; export declare function pathFeatures(paths: PathCommand[][]): PathFeature[]; export declare const MASK_FILL: SurfaceInput; /** * The frame's outline as a Bluepic element in frame-local coords (identity * transform), painted with `surface` and tagged `${id}-${suffix}`. Shared by * both the white mask-clip shape and the frame's own filled background. */ export declare function frameShape(frame: RectangleSprite | OvalSprite | PolygonSprite, suffix: string, surface: SurfaceInput): Template.Element; /** The frame's clip shape, in frame-local coords with identity transform. */ export declare function frameOutlineShape(frame: RectangleSprite | OvalSprite | PolygonSprite): Template.Element; //# sourceMappingURL=shapes.d.ts.map