import "./auth.scss";
import React from "react";
export declare function AuthReducer(state: any, [type, data]: any): any;
declare const AuthContextDefault: {
    state: any;
    dispatch: (args: any) => void;
    persona: boolean;
    access: number;
    name: string;
    token: string;
    configuration: string;
    configurationsList: never[];
    configurationName: string;
    roleName: string;
    policy: string;
    policyList: never[];
    role: string;
    login: string;
    email: string;
    relogin: () => void;
    async: {
        login: any;
        changePassword: any;
        register: any;
        init: any;
        logout: any;
    };
};
export type AuthContextType = typeof AuthContextDefault;
export declare const AuthContext: React.Context<{
    state: any;
    dispatch: (args: any) => void;
    persona: boolean;
    access: number;
    name: string;
    token: string;
    configuration: string;
    configurationsList: never[];
    configurationName: string;
    roleName: string;
    policy: string;
    policyList: never[];
    role: string;
    login: string;
    email: string;
    relogin: () => void;
    async: {
        login: any;
        changePassword: any;
        register: any;
        init: any;
        logout: any;
    };
}>;
export declare const AuthModuleInit: () => {
    state: any;
    dispatch: React.ActionDispatch<[any]>;
    access: any;
    name: any;
    token: any;
    configuration: any;
    configurationsList: any;
    configurationName: any;
    roleName: any;
    policy: any;
    policyList: any;
    role: any;
    login: any;
    email: any;
    persona: any;
    relogin: () => void;
    async: {
        login: {
            data: any;
            error: any;
            loading: any;
            state: any;
            dispatch: any;
            flush: () => void;
            onResponse: (fnSuccess: Function, fnError?: Function) => void;
            fetch: (append?: any, data?: any) => any;
            params: any;
        };
        changePassword: {
            data: any;
            error: any;
            loading: any;
            state: any;
            dispatch: any;
            flush: () => void;
            onResponse: (fnSuccess: Function, fnError?: Function) => void;
            fetch: (append?: any, data?: any) => any;
            params: any;
        };
        register: {
            data: any;
            error: any;
            loading: any;
            state: any;
            dispatch: any;
            flush: () => void;
            onResponse: (fnSuccess: Function, fnError?: Function) => void;
            fetch: (append?: any, data?: any) => any;
            params: any;
        };
        init: {
            data: any;
            error: any;
            loading: any;
            state: any;
            dispatch: any;
            flush: () => void;
            onResponse: (fnSuccess: Function, fnError?: Function) => void;
            fetch: (append?: any, data?: any) => any;
            params: any;
        };
        logout: {
            data: any;
            error: any;
            loading: any;
            state: any;
            dispatch: any;
            flush: () => void;
            onResponse: (fnSuccess: Function, fnError?: Function) => void;
            fetch: (append?: any, data?: any) => any;
            params: any;
        };
    };
    context: React.Context<{
        state: any;
        dispatch: (args: any) => void;
        persona: boolean;
        access: number;
        name: string;
        token: string;
        configuration: string;
        configurationsList: never[];
        configurationName: string;
        roleName: string;
        policy: string;
        policyList: never[];
        role: string;
        login: string;
        email: string;
        relogin: () => void;
        async: {
            login: any;
            changePassword: any;
            register: any;
            init: any;
            logout: any;
        };
    }>;
};
export declare const Auth: (props: any) => React.JSX.Element;
export {};
//# sourceMappingURL=auth.d.ts.map