export declare type TLogoutVariables = { redirectPath?: string; [key: string]: any; } | void; export declare type TLogoutData = void | false | string; export interface IAuthContext { login: (params: any) => Promise; logout: (params: any) => Promise; checkAuth: (params?: any) => Promise; checkError: (error: any) => Promise; getPermissions: (params?: any) => Promise; getUserIdentity?: () => Promise; isProvided?: boolean; isAuthenticated?: boolean; [key: string]: any; }