import { OnInit, OnDestroy, AfterViewInit } from "@angular/core"; import * as i0 from "@angular/core"; export type ScrollBehavior = "smooth" | "instant" | "auto"; /** * Directive for implementing stick-to-bottom scroll behavior * Similar to the React use-stick-to-bottom library * * @example * ```html *
* *
* ``` */ export declare class StickToBottom implements OnInit, AfterViewInit, OnDestroy { enabled: import("@angular/core").InputSignal; threshold: import("@angular/core").InputSignal; initialBehavior: import("@angular/core").InputSignal; resizeBehavior: import("@angular/core").InputSignal; debounceMs: import("@angular/core").InputSignal; isAtBottomChange: import("@angular/core").OutputEmitterRef; scrollToBottomRequested: import("@angular/core").OutputEmitterRef; private elementRef; private scrollService; private resizeService; private destroy$; private contentElement?; private wasAtBottom; private hasInitialized; private userHasScrolled; ngOnInit(): void; ngAfterViewInit(): void; private setupScrollMonitoring; private setupResizeMonitoring; private setupContentMutationObserver; /** * Public method to scroll to bottom * Can be called from parent component */ scrollToBottom(behavior?: ScrollBehavior): void; /** * Check if currently at bottom */ isAtBottom(): boolean; /** * Get current scroll state */ getScrollState(): { scrollTop: any; scrollHeight: any; clientHeight: any; isAtBottom: boolean; }; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }