/** * The `view-transition-class` the shipped CSS targets. Add it as a class name * to the source element and the detail, next to their shared * `view-transition-name`. The kit sheet maps the class to the property. */ export declare const ZOOM_DRILLDOWN_TRANSITION_CLASS: "ds-zoom-drilldown"; export interface UseZoomDrilldownOptions { /** Resolver for the scroll container whose scrollTop should be preserved * across the transition. Defaults to the nearest `
` element in * the document (or the Radix ScrollArea viewport around it). The window * scroll position is always tracked alongside. */ getScrollContainer?: () => HTMLElement | null; } export interface UseZoomDrilldownReturn { /** The open drill-down target, or `null` while the source view shows. */ readonly selected: Id | null; /** Zoom into `id`: saves the scroll position and enters at the top. */ readonly open: (id: Id) => void; /** Zoom back out and restore the saved scroll position. */ readonly close: () => void; } export declare function useZoomDrilldown(options?: UseZoomDrilldownOptions): UseZoomDrilldownReturn; //# sourceMappingURL=use-zoom-drilldown.d.ts.map