import { FontDescription, WindowLike } from "../Ave"; export declare enum Byo2ReadingDirection { LeftToRight = 0, RightToLeft = 1, TopToBottom = 2, BottomToTop = 3 } export declare enum Byo2FlowDirection { TopToBottom = 0, BottomToTop = 1, LeftToRight = 2, RightToLeft = 3 } export interface IByo2Font { new (window: WindowLike, cp: FontDescription): IByo2Font; GetAscent(): number; GetDescent(): number; GetHeight(): number; GetWidth(): number; GetLeadingExternal(): number; GetLeadingInternal(): number; SetReadingDirection(n: Byo2ReadingDirection): void; GetReadingDirection(): Byo2ReadingDirection; SetFlowDirection(n: Byo2FlowDirection): void; GetFlowDirection(): Byo2FlowDirection; Measure(s: string): number[]; } declare const Byo2Font_base: IByo2Font; export declare class Byo2Font extends Byo2Font_base { } export {};