import type { DistrictMember } from "./district.ts"; import type { DojoSpec, Language } from "./types.ts"; /** The main dojo as the district draws it: the atlas's floor and fittings, with no wood round the mats (the 4 metres the atlas draws would not stand inside the real building). */ export declare const KODOKAN_DOJO: DojoSpec; /** How high the room stands, floor to the top of its lid, in metres: the 3D build's own figure (walls of 4.5 metres, the gallery level with their tops, the lid over it), two storeys of the building. Ours. */ export declare const KODOKAN_ROOM_HEIGHT = 11.2; /** The height of the main dojo's floor above the ground, in metres: the 7th floor, six storeys up at the building's own storey height (its height over its storeys, 5.4 metres), and no higher than leaves the room under the roof. */ export declare const KODOKAN_FLOOR_HEIGHT: number; /** The Kodokan's name in each language. */ export declare const KODOKAN_NAME: { readonly en: string; readonly ja: string; }; /** Where the Kodokan's building stands and what it is: for tests and pages that say it. */ export declare const KODOKAN: { readonly floorHeight: number; readonly roomHeight: 11.2; readonly mats: 420; readonly seats: 900; readonly source: "bldg_ec4aa7a9-f8cb-4abb-af0c-a2cef6d06dd8"; readonly read: "2026-10-22"; readonly ring: readonly [readonly [139.753281, 35.707485], readonly [139.753287, 35.707464], readonly [139.753659, 35.707456], readonly [139.753548, 35.707846], readonly [139.753502, 35.707837], readonly [139.753496, 35.707859], readonly [139.753195, 35.707801], readonly [139.753268, 35.707546], readonly [139.753193, 35.707532], readonly [139.75321, 35.707472]]; readonly height: 43.1; readonly storeys: 8; readonly room: { readonly centre: readonly [139.75342, 35.707654]; readonly heading: 77; readonly side: 31.8; readonly clearance: 0.18; }; readonly floors: { readonly "5": { readonly heading: 167; readonly clearance: 2.59; readonly rooms: readonly [{ readonly id: "womens"; readonly jo: 240; readonly w: 27.3; readonly l: 14.56; readonly centre: readonly [139.753353, 35.707641]; }, { readonly id: "boys"; readonly jo: 114; readonly w: 17.29; readonly l: 10.92; readonly centre: readonly [139.75352, 35.707624]; }, { readonly id: "special"; readonly jo: 40; readonly w: 9.1; readonly l: 7.28; readonly centre: readonly [139.753483, 35.707752]; }]; }; readonly "6": { readonly heading: 77; readonly clearance: 2.43; readonly rooms: readonly [{ readonly id: "school"; readonly jo: 240; readonly w: 27.3; readonly l: 14.56; readonly centre: readonly [139.7534, 35.707724]; }, { readonly id: "international"; readonly jo: 192; readonly w: 21.84; readonly l: 14.56; readonly centre: readonly [139.75344, 35.707583]; }]; }; }; }; /** A room of a floor of the Kodokan: what the Kodokan's floor guide calls it, its count of jō where the guide gives one, and whether the room is drawn from that count or is ours. */ export interface KodokanRoom { id: string; name: { en: string; ja: string; }; /** Mats, in jō: the guide's count; `null` where it gives none (the special dojo: drawn at 40 jō, ours). */ mats: number | null; /** The count the room is drawn at: the guide's, or ours where it gives none. */ drawn: number; } /** A floor of the Kodokan International Judo Center, the new building: its label, what the Kodokan's own floor guide lists on it, what is drawn there, and where the words come from. */ export interface KodokanFloor { /** 0 is the basement, 1 to 8 the floors above the ground. */ floor: number; label: { en: string; ja: string; }; /** What the floor guide lists on it, in each language (a floor with no entry of its own says what a second source says, `else`). */ lists: { en: string; ja: string; }; rooms: KodokanRoom[]; /** What the view draws: the `rooms` the guide counts, the `great-dojo`, its `gallery`, only the floor's `plate` (nothing is published of its rooms), or `none` (under the ground). */ drawn: "rooms" | "great-dojo" | "gallery" | "plate" | "none"; /** Where the floor's words come from: the Kodokan's floor guide, and English Wikipedia where the guide says nothing. */ source: "kodokan" | "wikipedia"; } /** The floors, from the basement up. The Kodokan's floor guide (施設のご案内, `docs/district.md`) lists 8F to B1; its 1F entry is empty, so the 1st floor is English Wikipedia's. */ export declare const KODOKAN_FLOORS: readonly KodokanFloor[]; /** The floors a district can be asked for: 0 (the basement) to 8. */ export declare const KODOKAN_FLOOR_IDS: readonly number[]; /** The height of a floor's level above the ground, in metres: the building's height over its storeys, for each floor under it (ours: the storeys are not all one height). */ export declare const kodokanLevel: (floor: number) => number; /** How thick a floor of the building is drawn, in metres: its slab and its beams. Ours: a reinforced-concrete floor with its beams is some 0.4 to 0.8 metres of structure; the figure is a plausible one, and a floor is drawn no thinner than 10 pixels at the page's own size (`kodokanSlab`). */ export declare const KODOKAN_SLAB = 0.6; /** The level of a floor's slab, in metres: the building's own storeys, except that the 7th is the great dojo's floor and the 8th the gallery's level over it. */ export declare const kodokanSlabLevel: (floor: number) => number; /** The height of the gallery's level over the main dojo's floor, in feet: the room's walls, 4.5 metres. A plane that begins above it is the 8th floor's. */ export declare const KODOKAN_GALLERY_LEVEL: number; /** * The Kodokan as a member of a district. With a `floor`, it is that floor of the building: the 7th is the great dojo, the 8th its gallery, the 5th and 6th their dojos as the floor guide counts them (laid out by us), the others plain floor plates; * the basement is under the ground and draws nothing. Throws for a floor that is not 0 to 8. */ export declare function kodokanMember(language: Language, floor?: number): DistrictMember;