import type { KyudoFigures } from "../leagues/budo.ts"; import { type MBox, type MMark, type Parts } from "./parts.ts"; /** What a kyūdōjō plan is. */ export interface KyudoLayout { parts: Parts; /** The whole range: the shajō, the yamichi and the azuchi. */ range: MBox; extent: MBox; /** The shajō's floor (with the judges' side), the yamichi, the azuchi's footprint. */ shajo: MBox; yamichi: MBox; azuchi: MBox; /** The x of the shooting positions, of the honza and of the targets' faces, and the y of each shooter. */ shooting: number; honza: number; target: number; lanes: number[]; shooters: number; marks: MMark[]; } /** The number of shooters the options ask for, 1 to 12. @throws RangeError for a number outside it. */ export declare function shootersOf(asked: number | undefined, fig: KyudoFigures): number; /** The plan of the kyūdōjō the options ask for. */ export declare function kyudoParts(fig: KyudoFigures, o: { shooters: number; targets: boolean; roof: boolean; }): KyudoLayout;