import React from 'react';
import { ViewStyle } from 'react-native';
import { Children } from '../types.mjs';
import 'softchatjs-core';

type ModalProps = {
    dismissable?: boolean;
    justifyContent?: ViewStyle["justifyContent"];
    children: Children | null;
    animation?: "none" | "fade" | "slide" | undefined;
    containerWidth?: ViewStyle["width"];
};
declare const useModalProvider: () => ModalProvider;
type ModalProvider = {
    displayModal: (child: ModalProps) => void;
    resetModal: (cb?: Function) => void;
};
declare function ModalProvider(props: {
    children: Children;
}): React.JSX.Element;

export { ModalProvider as default, useModalProvider };
