import { DrillDownContextProps } from './internal/DrillDownContext'; /** * Hook for programmatic control of DrillDown navigation. * * Provides imperative methods to control drilldown navigation. Use this hook when you need * to programmatically navigate between drilldown screens or trigger navigation from custom * buttons outside the DrillDown.NextButton and DrillDown.PrevButton components. * * The drillDownProps must be spread onto Dialog, Drawer, or Page.Panel for the hook to work. * * Features: * - Programmatic navigation control * - Direct index setting * - Forward and backward navigation methods * * @returns Object containing navigation methods and props: * - setIndex: Function to jump to specific drilldown index * - back: Function to navigate to previous index * - next: Function to navigate to next index * - drillDownProps: Props to spread onto Dialog, Drawer, or Page.Panel * * @example * ```tsx * const { setIndex, back, next, drillDownProps } = useDrillDown(); * * * * * * * ``` */ export declare function useDrillDown(): { setIndex: (index: number | undefined) => void; back: () => void; next: () => void; drillDownProps: { onDrillDownContextChange: (passedContext: DrillDownContextProps) => void; }; };