import type { SurfaceOptions } from "./types.ts"; /** A surface's outline as a path, with the box round it. */ export interface Outline { /** The path of the playing surface's edge: the boards for a rink, the lines of a court, the fence and the foul lines for a ballpark. */ d: string; box: { x: number; y: number; w: number; h: number; }; /** True when a point (in the drawing's frame, feet) is on the surface, or on its edge. */ contains(x: number, y: number): boolean; } /** The size a provider's frame is fitted to: the drawn surface's own `box`, for a soccer pitch, a curling sheet, a net sport's court and a league's surface; none for a sport's own fixed one. */ export declare const frameSizeOf: (o: Pick, box: { w: number; h: number; }) => { length: number; width: number; unit: "ft"; } | undefined; /** The outline of the surface the options draw. */ export declare function outlineOf(o: Pick & Partial>): Outline;