import { ReactNode } from 'react';
import { IUserInfo, LoginInfo, User } from '@glodon-aiot/apis';
export declare const authProvider: {
    isAuthenticated: boolean;
    loginInfo: LoginInfo | null;
    setLoginAdrress: (loginInfo: LoginInfo) => void;
    signin(): void;
    signout(): void;
    user: User | null;
    setLoginUser: (user: User) => void;
    userInfo: IUserInfo | null;
    setUserInfo: (userInfo: IUserInfo) => void;
};
export declare const refreshToken: (newTenant: string, orgId?: string, productCode?: string) => Promise<string>;
export declare function AuthProvider({ children }: {
    children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
