import "./follow_scroll.css"; import type * as React from "react"; import { type ReactNode } from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; export interface FollowScrollProps extends StyleProps { children?: ReactNode; /** * A floating disc once the reader is over 100px off the bottom, scrolling them back. Worded by * the pack; `jumpLabel` overrides per instance. */ showJumpToLatest?: boolean; /** Tooltip and accessible name. Defaults to the pack's `scrollToBottom.tooltip`. */ jumpLabel?: string; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** * A scroller that follows growing content while pinned to the bottom (an `AgentRun` in a dialog, a * log feed); scrolling up releases, scrolling back re-pins. The height bound is the caller's, via * `style` or `className`, or nothing overflows. The follow is `column-reverse` layout, so there is * no scroll math to keep in step (see `follow_scroll.css`). */ export declare function FollowScroll(props: FollowScrollProps): React.ReactElement>;