import { VmShape } from "..";
export interface MeterDrawerOptions {
    width: number;
    height: number;
    shape: VmShape;
}
export declare abstract class MeterRenderer {
    canvasCtx: CanvasRenderingContext2D;
    width: number;
    height: number;
    prevVolume: number;
    readonly shape: VmShape;
    private watchdog;
    protected watchdogExpired: boolean;
    private watchdogTimer;
    constructor(ctx: CanvasRenderingContext2D, { height, width, shape }: MeterDrawerOptions);
    init(): void;
    private startWatchdog;
    private checkWatchdog;
    start(): void;
    stop(): void;
    clear(): void;
    draw(volume: number): void;
}
