import { BaseUIContextValue } from '@vtaits/react-form-schema-base-ui';
import { PropsWithChildren, ReactElement } from 'react';
import { CardProps } from '@vkontakte/vkui';

type IGetContextValusParams = {
    cardMode?: CardProps["mode"];
};

type IVKUIProviderProps = PropsWithChildren<IGetContextValusParams & {
    ui?: Partial<BaseUIContextValue>;
}>;
declare function VKUIProvider({ cardMode, children, ui, }: IVKUIProviderProps): ReactElement;

type IVKUIShowProviderProps = PropsWithChildren<IGetContextValusParams & {
    ui?: Partial<BaseUIContextValue>;
}>;
declare function VKUIShowProvider({ cardMode, children, ui, }: IVKUIShowProviderProps): ReactElement;

export { VKUIProvider, VKUIShowProvider };
