import { RangeScrollbarHandleProps, RangeScrollbarRootProps, RangeScrollbarThumbProps } from "../../rangeScrollbar/RangeScrollbar.mjs"; import "../../rangeScrollbar/index.mjs"; import { TimelineViewportRangeControlOptions } from "../../hooks/viewport/useTimelineViewportRangeControl.mjs"; import "../../hooks/index.mjs"; import React from "react"; //#region src/components/scrollbars/ViewportScrollbar.d.ts /** * Props for the timeline viewport scrollbar root. */ interface ViewportScrollbarRootProps extends Omit, TimelineViewportRangeControlOptions {} /** * Props for the timeline viewport scrollbar thumb. */ type ViewportScrollbarThumbProps = RangeScrollbarThumbProps; /** * Props for a timeline viewport scrollbar resize handle. */ type ViewportScrollbarHandleProps = RangeScrollbarHandleProps; /** * Timeline-aware scrollbar root for panning and zooming the visible viewport. * * @param props - Timeline viewport scrollbar options and DOM props. * @returns A range scrollbar root wired to the current `TimelineEngine`. * * @example * ```tsx * * * * * * * ``` */ declare const ViewportScrollbarRoot: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Draggable timeline viewport thumb. * * @param props - DOM props and optional custom content for the viewport thumb. * @returns A range scrollbar thumb that pans the timeline viewport. */ declare const ViewportScrollbarThumb: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Timeline viewport resize handle. * * @param props - Handle side, DOM props, and optional custom content. * @returns A range scrollbar handle that zooms the timeline viewport. */ declare const ViewportScrollbarHandle: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Namespace of timeline-aware viewport scrollbar components. */ declare const ViewportScrollbar: { /** Root element wired to timeline scroll and zoom state. */ Root: React.ForwardRefExoticComponent & React.RefAttributes>; /** Draggable thumb that pans the timeline viewport. */ Thumb: React.ForwardRefExoticComponent & React.RefAttributes>; /** Resize handle that changes timeline zoom. */ Handle: React.ForwardRefExoticComponent & React.RefAttributes>; }; //#endregion export { ViewportScrollbar, ViewportScrollbarHandle, ViewportScrollbarHandleProps, ViewportScrollbarRoot, ViewportScrollbarRootProps, ViewportScrollbarThumb, ViewportScrollbarThumbProps }; //# sourceMappingURL=ViewportScrollbar.d.mts.map