import { BottomSheetBackdrop, type BottomSheetModal } from '@gorhom/bottom-sheet'; import { type ComponentProps, type ReactNode, type RefObject } from 'react'; export interface NestedSheet { nestedSheetRef: RefObject; nestedScreen: TScreen | null; setNestedScreen: (screen: TScreen | null) => void; openNestedScreen: (screen: TScreen) => void; closeNestedScreen: () => void; renderNestedBackdrop: (props: ComponentProps) => ReactNode; } /** * Which overlay screen is showing, plus the sheet handle and backdrop the * caller feeds to its BottomSheetModal. `TScreen` is the flow's own union of * overlay screen names, so each flow keeps its screens typed to its own set. */ export declare function useNestedSheet(): NestedSheet; //# sourceMappingURL=useNestedSheet.d.ts.map