1import { Context2d } from "../../../core/util/canvas";
2import { GlyphView } from "../glyph";
3export declare abstract class BaseGLGlyph {
4    readonly gl: WebGLRenderingContext;
5    readonly glyph: GlyphView;
6    protected nvertices: number;
7    protected size_changed: boolean;
8    protected data_changed: boolean;
9    protected visuals_changed: boolean;
10    constructor(gl: WebGLRenderingContext, glyph: GlyphView);
11    set_data_changed(): void;
12    set_visuals_changed(): void;
13    render(_ctx: Context2d, indices: number[], mainglyph: GlyphView): boolean;
14    abstract draw(indices: number[], mainglyph: any, trans: Transform): void;
15}
16export declare type Transform = {
17    pixel_ratio: number;
18    width: number;
19    height: number;
20};
21//# sourceMappingURL=base.d.ts.map