import type { FieldPlan } from "./fields.types.ts"; import type { FieldSport, SurfaceOptions } from "./types.ts"; export type { FieldPlan } from "./fields.types.ts"; /** The field sports, in the order a menu lists them. */ export declare const FIELD_SPORTS: readonly FieldSport[]; /** True for a sport whose surface is a field sport's. */ export declare const isFieldSport: (sport: string) => sport is FieldSport; /** * The plan the options ask for. A `league` picks the rulebook (the sport's own first one by default); `field` a size within its range and the sport's own parameters; `detail: "simple"` leaves out the small marks. * @throws RangeError when a size is outside the league's range, and Error when the ground or the look is not one the sport has. */ export declare function fieldPlan(o: Pick): FieldPlan;