import { Texture } from '../../renderers/shared/texture/Texture';
import { AbstractBitmapFont } from './AbstractBitmapFont';
import type { CanvasAndContext } from '../../renderers/shared/texture/CanvasPool';
import type { TextStyle } from '../TextStyle';
export interface DynamicBitmapFontOptions {
    style: TextStyle;
    overrideFill?: boolean;
    skipKerning?: boolean;
    resolution?: number;
    padding?: number;
}
export declare class DynamicBitmapFont extends AbstractBitmapFont<DynamicBitmapFont> {
    resolution: number;
    readonly pages: {
        canvasAndContext?: CanvasAndContext;
        texture: Texture;
    }[];
    private readonly _padding;
    private readonly _measureCache;
    private _currentChars;
    private _currentX;
    private _currentY;
    private _currentPageIndex;
    private readonly _style;
    private readonly _skipKerning;
    constructor(options: DynamicBitmapFontOptions);
    ensureCharacters(chars: string): void;
    /**
     * @deprecated since 8.0.0
     * The map of base page textures (i.e., sheets of glyphs).
     */
    get pageTextures(): DynamicBitmapFont['pages'];
    private _applyKerning;
    private _nextPage;
    private _setupContext;
    private _drawGlyph;
    destroy(): void;
}
