import type { CourtStyle } from "./types.ts"; /** The options of a hardwood floor, read: every part has its value. */ export interface Hardwood { seed: number; /** True for the seams, ends, grain, soft shadows, table and benches; false for broad boards and one shadow. */ fine: boolean; /** The width of a board, in feet. */ board: number; stain: number; sheen: number; hoops: boolean; bench: boolean; } /** The width of a drawing in pixels when the options say it (`480` or `"480px"`), else `undefined` (a percentage or an em says nothing of the screen). */ export declare function pixelWidth(width: unknown): number | undefined; /** The width in pixels under which a drawing is a thumbnail, and its boards a blur: the `auto` detail is `plain` below it. */ export declare const HARDWOOD_SMALL = 480; /** The hardwood the options ask for, or `undefined` for the usual clean floor. `simple` is the drawing's `detail: "simple"`; `width` its `width` option. */ export declare function resolveHardwood(court: CourtStyle | undefined, simple: boolean, width: unknown): Hardwood | undefined; /** A small, fast generator (mulberry32): the same seed gives the same numbers on every machine. */ export declare function generator(seed: number): () => number; /** The width of a tile, in feet: longer than any court of the package, so that the boards do not repeat along it. */ export declare const TILE = 96; /** The two tiles of a floor and the size they are laid at: the tones and grain (under the paint) and the seams and ends (over it). */ export declare function floorTiles(h: Hardwood): { height: number; under: string; over: string; }; /** The rules of the hardwood floor's classes, written into a drawing that has one (and in `KYOGIJO_STYLE`, for a page that supplies the stylesheet). */ export declare const KYOGIJO_HARDWOOD_STYLE: string;