import { BoxProps } from '@mui/material';
import { UserPublicInfo } from '@blocklet/js-sdk';
import { Ref } from 'react';
import { RequestAppInfo, CurrentAppInfo } from './auth-apps-info';
/**
 * @example app/connect-to-did-space?appPid=zNKp8tdZUanWKnvhwZWvF2hKRutwM9ykLaY8&appDid=zNKp8tdZUanWKnvhwZWvF2hKRutwM9ykLaY8&appName=233&appDescription=456&appUrl=https://bbqaw5mgxc6fnihrwqcejcxvukkdgkk4anwxwk5msvm.did.abtnet.io/zh
 */
export default function AuthApps({ session, requestAppInfo, currentAppInfo, children, userInfo, hideSwitchConnect, hideAuthorize, hideCancel, hideButton, notThisText, authorizeText, connectText, cancelText, useAnotherText, slotProps, onConnect, onAuthorize, onSwitchConnect, onCancel, ref, }: {
    session: any;
    requestAppInfo: RequestAppInfo;
    currentAppInfo: CurrentAppInfo;
    children?: React.ReactNode;
    userInfo?: UserPublicInfo;
    hideSwitchConnect?: boolean;
    hideAuthorize?: boolean;
    hideCancel?: boolean;
    hideButton?: boolean;
    notThisText?: string;
    authorizeText?: string;
    connectText?: string;
    cancelText?: string;
    useAnotherText?: string;
    slotProps?: {
        root?: BoxProps;
        didConnectContainer?: object;
        contentContainer?: BoxProps;
    };
    onConnect?: (done: () => void) => void;
    onAuthorize?: (done: () => void) => void;
    onSwitchConnect?: (done: () => void) => void;
    onCancel?: () => void;
    ref: Ref<{
        closeLoading: () => void;
    }>;
}): import("react/jsx-runtime").JSX.Element;
