type TDrawerStackOpts = {
    /**
     * Whether the calling drawer is open. The drawer joins the stack while open
     * and leaves it on close or unmount.
     */
    isOpen: boolean;
    /**
     * Fired when the calling drawer's position in the stack changes.
     */
    onStackChange?: (newStackIndex: number) => void;
};
/**
 * Returns the position of the calling drawer in the drawer stack. A stack index
 * of `0` is the foreground (top of the stack); higher numbers are further back.
 */
export default function useDrawerStack({ isOpen, onStackChange }: TDrawerStackOpts): number;
export {};
