import React, { type ReactNode } from 'react'; import { View, ViewStyle } from 'react-native'; import { BottomSheetModal, BottomSheetModalProvider, BottomSheetScrollView, BottomSheetView, type BottomSheetModalProps as GorhomBottomSheetModalProps } from '@gorhom/bottom-sheet'; /** Ref type for BottomSheet; forwards the @gorhom modal ref (present, dismiss, snapToIndex, minimize, restore, etc.). */ export type BottomSheetModalRef = React.ComponentRef; export interface BottomSheetHeaderProps { title?: string; subtitle?: string; children?: ReactNode; className?: string; onClose?: () => void; closeAccessibilityLabel?: string; onBack?: () => void; backAccessibilityLabel?: string; } declare const BottomSheetHeader: React.ForwardRefExoticComponent>; export interface BottomSheetContentProps { children?: ReactNode; className?: string; hasSafeAreaInset?: boolean; style?: ViewStyle; } declare const BottomSheetContent: React.ForwardRefExoticComponent>; export interface BottomSheetFooterProps { children?: ReactNode; className?: string; style?: ViewStyle; } declare const BottomSheetFooter: React.ForwardRefExoticComponent>; export interface BottomSheetModalProps extends GorhomBottomSheetModalProps { /** Show the drag handle indicator. When false, `handleComponent` is set to null. @default true */ handleVisible?: boolean; /** Footer content rendered via gorhom's BottomSheetFooter for proper animated positioning and safe-area handling. */ footer?: ReactNode; } declare const BottomSheetModalStyled: React.ForwardRefExoticComponent>>; declare function BottomSheetScrollViewStyled({ enableFooterMarginAdjustment, children, ...rest }: React.ComponentPropsWithoutRef): import("react/jsx-runtime").JSX.Element; declare namespace BottomSheetScrollViewStyled { var displayName: string; } declare function BottomSheetViewStyled({ enableFooterMarginAdjustment, children, ...rest }: React.ComponentPropsWithoutRef): import("react/jsx-runtime").JSX.Element; declare namespace BottomSheetViewStyled { var displayName: string; } interface BottomSheetCompound { Modal: typeof BottomSheetModalStyled; Header: typeof BottomSheetHeader; Content: typeof BottomSheetContent; Footer: typeof BottomSheetFooter; Provider: typeof BottomSheetModalProvider; ScrollView: typeof BottomSheetScrollViewStyled; View: typeof BottomSheetViewStyled; } export declare const BottomSheet: BottomSheetCompound; export declare function useBottomSheet(): { ref: React.RefObject | null>; present: () => void | undefined; dismiss: () => void | undefined; }; export {}; //# sourceMappingURL=index.d.ts.map