import { ScrollTopBehavior, ScrollTopIconTemplateContext, ScrollTopPassThrough, ScrollTopTarget } from "primeng/types/scrolltop"; import * as i0 from "@angular/core"; import { TemplateRef } from "@angular/core"; import { MotionEvent, MotionOptions } from "@primeuix/motion"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { ButtonDirectiveOptions } from "primeng/types/button"; import { CSSProperties } from "primeng/types/shared"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/scrolltop"; export declare class ScrollTopStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-scrolltop-sticky': boolean; })[]; icon: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly. * * [Live Demo](https://www.primeng.org/scrolltop/) * * @module scrolltopstyle * */ export declare enum ScrollTopClasses { /** * Class name of the root element */ root = "p-scrolltop", /** * Class name of the icon element */ icon = "p-scrolltop-icon" } /** * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly. * @group Components */ export declare class ScrollTop extends BaseComponent { componentName: string; $pcScrollTop: ScrollTop | undefined; bindDirectiveInstance: Bind; /** * Class of the element. * @group Props */ styleClass: import("@angular/core").InputSignal; /** * Inline style of the element. * @group Props */ style: import("@angular/core").InputSignal; /** * Target of the ScrollTop. * @group Props */ target: import("@angular/core").InputSignal; /** * Defines the threshold value of the vertical scroll position of the target to toggle the visibility. * @group Props */ threshold: import("@angular/core").InputSignalWithTransform; /** * Name of the icon or JSX.Element for icon. * @group Props */ _icon: import("@angular/core").InputSignal; /** * Defines the scrolling behavior, "smooth" adds an animation and "auto" scrolls with a jump. * @group Props */ behavior: import("@angular/core").InputSignal; /** * The motion options. * @group Props */ motionOptions: import("@angular/core").InputSignal; /** * Establishes a string value that labels the scroll-top button. * @group Props */ buttonAriaLabel: import("@angular/core").InputSignal; /** * Configuration object forwarded to the underlying button. * @group Props */ buttonProps: import("@angular/core").InputSignal; /** * Custom icon template. * @param {ScrollTopIconTemplateContext} context - icon context. * @see {@link ScrollTopIconTemplateContext} * @group Templates */ iconTemplate: import("@angular/core").Signal | undefined>; computedMotionOptions: import("@angular/core").Signal; documentScrollListener: VoidFunction | null | undefined; parentScrollListener: VoidFunction | null | undefined; visible: import("@angular/core").WritableSignal; render: import("@angular/core").WritableSignal; overlay: HTMLElement | null; _componentStyle: ScrollTopStyle; constructor(); getIconTemplateContext(): { styleClass: string | undefined; }; onAfterViewChecked(): void; onInit(): void; onClick(): void; onBeforeEnter(event: MotionEvent): void; onBeforeLeave(): void; onAfterLeave(): void; checkVisibility(scrollY: number): void; bindParentScrollListener(): void; bindDocumentScrollListener(): void; unbindParentScrollListener(): void; unbindDocumentScrollListener(): void; onDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class ScrollTopModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }