import React, { ReactNode } from 'react';
import { useDisclosure } from '@mantine/hooks';
import { DrawerBottomProps } from "../../atoms/drawerBottom";
import { TCollectPhoneFormData } from "./collectPhoneForm";
type TCustomDrawerProps = Omit<DrawerBottomProps, 'isOpen' | 'onClose' | 'onOpenChange'>;
export type TPopupCollectPhoneProps = {
    isMobile: boolean;
    children?: ((value: ReturnType<typeof useDisclosure>) => ReactNode) | ReactNode;
    onSubmit: (data: TCollectPhoneFormData) => Promise<unknown>;
    isOpen?: boolean;
    onOpenChange?: (value: boolean) => void;
    drawerProps?: TCustomDrawerProps;
};
export declare enum EPopupCollectPhoneStep {
    FORM = 0,
    SUCCESS = 1
}
export declare function PopupCollectPhone({ children, isMobile, onSubmit, isOpen: isOpenProp, onOpenChange, drawerProps, }: TPopupCollectPhoneProps): React.JSX.Element;
export default PopupCollectPhone;
