import { ScrollPanelOrientation, ScrollPanelPassThrough } from "primeng/types/scrollpanel"; import * as i0 from "@angular/core"; import { ElementRef, TemplateRef } from "@angular/core"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { Nullable } from "primeng/ts-helpers"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/scrollpanel"; export declare class ScrollPanelStyle extends BaseStyle { name: string; style: string; classes: { root: string; contentContainer: string; content: string; barX: string; barY: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar. * * [Live Demo](https://www.primeng.org/scrollpanel/) * * @module scrollpanelstyle * */ export declare enum ScrollPanelClasses { /** * Class name of the root element */ root = "p-scrollpanel", /** * Class name of the content container element */ contentContainer = "p-scrollpanel-content-container", /** * Class name of the content element */ content = "p-scrollpanel-content", /** * Class name of the bar x element */ barX = "p-scrollpanel-bar-x", /** * Class name of the bar y element */ barY = "p-scrollpanel-bar-y" } /** * ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar. * @group Components * @deprecated Use ScrollArea component instead. */ export declare class ScrollPanel extends BaseComponent { componentName: string; constructor(); $pcScrollPanel: ScrollPanel | undefined; bindDirectiveInstance: Bind; /** * Step factor to scroll the content while pressing the arrow keys. * @group Props */ step: import("@angular/core").InputSignalWithTransform; contentViewChild: import("@angular/core").Signal | undefined>; xBarViewChild: import("@angular/core").Signal | undefined>; yBarViewChild: import("@angular/core").Signal | undefined>; /** * Custom content template. * @group Templates */ contentTemplate: import("@angular/core").Signal | undefined>; scrollYRatio: number | undefined; scrollXRatio: number | undefined; initialized: boolean; lastPageY: number | undefined; lastPageX: number | undefined; isXBarClicked: boolean; isYBarClicked: boolean; lastScrollLeft: import("@angular/core").WritableSignal; lastScrollTop: import("@angular/core").WritableSignal; orientation: ScrollPanelOrientation; timer: ReturnType | undefined; contentId: string | undefined; windowResizeListener: VoidFunction | null | undefined; contentScrollListener: VoidFunction | null | undefined; mouseEnterListener: VoidFunction | null | undefined; xBarMouseDownListener: VoidFunction | null | undefined; yBarMouseDownListener: VoidFunction | null | undefined; documentMouseMoveListener: Nullable<(event: MouseEvent) => void>; documentMouseUpListener: Nullable<(event: Event) => void>; _componentStyle: ScrollPanelStyle; timeoutFrame: (fn: VoidFunction) => NodeJS.Timeout; onAfterViewChecked(): void; onInit(): void; onAfterViewInit(): void; calculateContainerHeight(): void; moveBar(): void; onScroll(event: Event): void; onKeyDown(event: KeyboardEvent): void; onKeyUp(): void; repeat(bar: 'scrollTop' | 'scrollLeft', step: number): void; setTimer(bar: 'scrollTop' | 'scrollLeft', step: number): void; clearTimer(): void; bindDocumentMouseListeners(): void; unbindDocumentMouseListeners(): void; onYBarMouseDown(e: MouseEvent): void; onXBarMouseDown(e: MouseEvent): void; onDocumentMouseMove(e: MouseEvent): void; onMouseMoveForXBar(e: MouseEvent): void; onMouseMoveForYBar(e: MouseEvent): void; /** * Scrolls the top location to the given value. * @param scrollTop * @group Method */ scrollTop(scrollTop: number): void; onFocus(event: FocusEvent): void; onBlur(): void; onDocumentMouseUp(): void; requestAnimationFrame(f: VoidFunction): void; unbindListeners(): void; onDestroy(): void; /** * Refreshes the position and size of the scrollbar. * @group Method */ refresh(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class ScrollPanelModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }