import { DApplicationTarget } from "./d-application-like"; import { DScrollBarOptions } from "./d-scroll-bar"; import { DScrollBarHorizontal } from "./d-scroll-bar-horizontal"; import { DScrollBarVertical } from "./d-scroll-bar-vertical"; export interface DPaneScrollBarOptions { vertical?: DScrollBarOptions; horizontal?: DScrollBarOptions; } export interface DPaneScrollBarParent extends DApplicationTarget { width: number; height: number; content: DPaneScrollBarContent; } export interface DPaneScrollBarContent { x: number; y: number; width: number; height: number; } export declare class DPaneScrollBar { protected _parent: PARENT; protected _onUpdate: (isRegionVisible: boolean) => void; readonly vertical: DScrollBarVertical; readonly horizontal: DScrollBarHorizontal; protected _isLocked: number; protected _isCalled: boolean; protected _isCalledSilently?: boolean; constructor(parent: PARENT, options: DPaneScrollBarOptions | undefined, onUpdate: (isRegionVisible: boolean) => void); lock(): void; unlock(callIfNeeded: boolean): void; update(silently?: boolean): void; touch(silently?: boolean): void; protected getOffsetHorizontalStart(size: number): number; protected getOffsetHorizontalEnd(size: number): number; protected getOffsetVerticalStart(size: number): number; protected getOffsetVerticalEnd(size: number): number; }