import { type MutableRefObject } from 'react';
export type UseStickToBottomOptions = {
    threshold?: number;
};
export type UseStickToBottomResult<Element extends HTMLElement = HTMLDivElement> = {
    containerRef: MutableRefObject<Element | null>;
    hasNewItems: boolean;
    notifyContentChanged: () => void;
    scrollToBottom: () => void;
};
export declare function useStickToBottom<Element extends HTMLElement = HTMLDivElement>({ threshold, }?: UseStickToBottomOptions): UseStickToBottomResult<Element>;
//# sourceMappingURL=useStickToBottom.d.ts.map