import { type CurlingLeague, type SheetSpec } from "./leagues/curling.ts"; import type { SheetShow, SurfaceOptions } from "./types.ts"; /** A sheet to draw. */ export interface SheetPlan { league: CurlingLeague; /** The figures in feet, with the length and the width of the options. */ spec: SheetSpec; pebble: boolean; guardZone: boolean; show: SheetShow; end: "left" | "right"; /** `show: "folded"`: what each enlarged panel holds, and the shape of the frame it fills. */ panels: "half" | "house"; fit: number; } /** * The sheet the options ask for. A `league` picks the rulebook (World Curling's by default); `sheet.length` and `sheet.width` are in `units` * (feet by default) and must lie within what the rulebook allows, or it is an error that says the range. * @throws RangeError when the length or the width is outside the league's range. */ export declare function sheetFor(o: Pick): SheetPlan;