import { type MarkSize } from "./mark"; /** Exactly `FILE_BADGE_BOX` tall. */ export declare const FILE_BADGE_DEFAULT_WIDTH = 26; /** And the square slot it fills. */ export declare const FILE_BADGE_BOX = 32; /** The aspect is fixed. */ export declare function fileBadgeHeight(width: number): number; /** Height binds. */ export declare function fileBadgeWidthForBox(box: number): number; /** A page's stroke at its width, whole pixels — a fractional 1.5px line smears — and a tile's dashed edge around it. */ export declare function fileBadgeBorder(width: number): number; /** The filename's widest: past it the name is cut in its middle ({@link fitFilename}). */ export declare const FILE_CHIP_NAME_MAX = 160; /** * A FILENAME CUT IN ITS MIDDLE to `room` px at its rung (regular): whole where it fits, else its head, "…" and a * tail as long as the head and never shorter than its extension — so its type and the end that tells a series * apart both still read ("BL-SI24…011.pdf"). A line whose width nobody measured cuts it in CSS (`Filename`). */ export declare function fitFilename(filename: string, room: number, size: "xs" | "sm"): string; /** * A DOCUMENT ON A LINE OR IN A CELL — its badge at the mark's rung and its filename beside it, cut in its middle * past {@link FILE_CHIP_NAME_MAX}: this wide, for the line or column budgeting it. A line's mark (`xs`) sets the * words at `xs`, any other at `sm`. */ export declare function fileChipWidth(filename: string, mark: MarkSize): number;