import React from "react";
import { ModalProps, ScrollView, ScrollViewProps, TouchableOpacityProps, View, ViewProps } from "react-native";
export interface ModalPrimitiveProps extends Omit<ModalProps, "children"> {
    open?: boolean;
    onOpenChange?: (open: boolean) => void;
    children?: React.ReactNode;
}
export declare const ModalRoot: React.ForwardRefExoticComponent<ModalPrimitiveProps & React.RefAttributes<View>>;
export interface ModalOverlayProps extends TouchableOpacityProps {
    dismissible?: boolean;
    onDismiss?: () => void;
}
export declare const ModalOverlay: React.ForwardRefExoticComponent<ModalOverlayProps & React.RefAttributes<View>>;
export interface ModalContentProps extends ViewProps {
    position?: "center" | "top" | "bottom" | "left" | "right";
    size?: "sm" | "md" | "lg" | "xl" | "full";
}
export declare const ModalContent: React.ForwardRefExoticComponent<ModalContentProps & React.RefAttributes<View>>;
export interface ModalHeaderProps extends ViewProps {
    withBorder?: boolean;
}
export declare const ModalHeader: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<View>>;
export interface ModalBodyProps extends ScrollViewProps {
    scrollable?: boolean;
}
export declare const ModalBody: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<ScrollView>>;
export interface ModalFooterProps extends ViewProps {
    withBorder?: boolean;
    direction?: "row" | "column";
    justify?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around";
}
export declare const ModalFooter: React.ForwardRefExoticComponent<ModalFooterProps & React.RefAttributes<View>>;
export interface ModalCloseProps extends TouchableOpacityProps {
    onClose?: () => void;
}
export declare const ModalClose: React.ForwardRefExoticComponent<ModalCloseProps & React.RefAttributes<View>>;
export declare const ModalPrimitive: {
    Root: React.ForwardRefExoticComponent<ModalPrimitiveProps & React.RefAttributes<View>>;
    Overlay: React.ForwardRefExoticComponent<ModalOverlayProps & React.RefAttributes<View>>;
    Content: React.ForwardRefExoticComponent<ModalContentProps & React.RefAttributes<View>>;
    Header: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<View>>;
    Body: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<ScrollView>>;
    Footer: React.ForwardRefExoticComponent<ModalFooterProps & React.RefAttributes<View>>;
    Close: React.ForwardRefExoticComponent<ModalCloseProps & React.RefAttributes<View>>;
};
//# sourceMappingURL=modal.d.ts.map