import type { Frame } from '../types/matrix'; declare const FONT_7x5: Record; export interface BitmapFontConfig { charSpacing?: number; lineHeight?: number; padding?: number | { top?: number; right?: number; bottom?: number; left?: number; }; } /** * Converts text to a bitmap frame using a bitmap font */ export declare function textToBitmap(text: string, font?: Record, config?: BitmapFontConfig): Frame; /** * Get the dimensions that a text would occupy when rendered */ export declare function measureText(text: string, font?: Record, config?: BitmapFontConfig): { width: number; height: number; }; export { FONT_7x5 }; //# sourceMappingURL=BitmapFont.d.ts.map