export interface AuthContextUserInterface { id?: number | string; name?: string; aditionalData?: any; token?: AuthTokenInterface; } export interface AuthTokenInterface { accessToken?: string; expires?: string; tokenType?: string; refreshToken?: string; aditionalData?: any; } export interface AuthContextType { user: AuthContextUserInterface | null; login: (username: string, password: string) => Promise; logout: () => void; isAuthenticated: boolean; isLoading: boolean; } export declare const AuthContext: import("react").Context; interface AuthProviderProps { children: React.ReactNode; getToken: (username: string, password: string) => Promise; getUserData: (auth: AuthTokenInterface) => Promise; refreshToken?: (auth: AuthTokenInterface) => Promise; removeToken?: (auth: AuthTokenInterface) => Promise; showLog?: boolean; } export declare const AuthProvider: React.FC; export {}; //# sourceMappingURL=AuthContext.d.ts.map