import PagingBuffer from 'parsegraph-pagingbuffer';
import Color from 'parsegraph-color';
import { BasicWindow } from 'parsegraph-window';
import { Matrix3x3 } from 'parsegraph-matrix';
export default class TexturePainter {
    _gl: WebGLRenderingContext;
    _textureProgram: WebGLProgram;
    _texture: WebGLTexture;
    _texWidth: number;
    _texHeight: number;
    _buffer: PagingBuffer;
    aPosition: number;
    aColor: number;
    aBackgroundColor: number;
    aTexCoord: number;
    aAlpha: number;
    uWorld: WebGLUniformLocation;
    uTexture: WebGLUniformLocation;
    _color: Color;
    _backgroundColor: Color;
    _alpha: number;
    constructor(window: BasicWindow, textureId: WebGLTexture, texWidth: number, texHeight: number);
    texture(): WebGLTexture;
    setAlpha(alpha: number): void;
    drawWholeTexture(x: number, y: number, width: number, height: number, scale: number): void;
    drawTexture(iconX: number, iconY: number, iconWidth: number, iconHeight: number, x: number, y: number, width: number, height: number, scale: number): void;
    clear(): void;
    render(world: Matrix3x3): void;
}
//# sourceMappingURL=TexturePainter.d.ts.map