import React, { type ReactNode } from "react"; export interface Mdk2Props { appid: string; onSuccess(data?: { webToken: string; appToken?: string; payload?: any; }): void; onFailure(): void; children(args: { open(): void; }): ReactNode; } export interface Mdk2Static extends React.FC { getLoginId(appid: string): string | null; getUserName(loginId: string): Promise; getWebToken(appid: string): string | null; getAppToken(appid: string): string | null; logOut(appid: string): void; } declare const Mdk2: Mdk2Static; export default Mdk2; export { Mdk2 };