import { Canvas } from '../canvas';
import { Rect } from '../rect';
export declare class Scroll {
    parent: Canvas;
    h: HTMLElement;
    v: HTMLElement;
    isDownH: number;
    isDownV: number;
    x: number;
    y: number;
    hSize: number;
    vSize: number;
    scrollX: number;
    scrollY: number;
    lastScrollX: number;
    lastScrollY: number;
    rect: Rect;
    isShow: boolean;
    isV: any;
    padding: number;
    pageMode: boolean;
    constructor(parent: Canvas);
    init(): void;
    getV(): void;
    private onMouseDownH;
    private onMouseDownV;
    private onMouseMove;
    private onMouseUp;
    canMouseMove(y: number): boolean;
    changeMode(padding?: number): void;
    initPos(): void;
    resize(): void;
    show(): void;
    hide(): void;
    translate(x: number, y: number): void;
    wheel(up?: any): void;
    destroy(): void;
}
