export default class UserinfoStoreModule extends BaseStoreModule {
    state: {
        isLoading: boolean;
        domainId: number;
        name: string;
        username: string;
        account: string;
        preferredUsername: string;
        userId: number;
        scope: {};
        permissions: {};
        roles: any[];
        license: any[];
        access: {};
        language: string;
    };
    getters: {
        THIS_APP: (state: any) => any;
        CHECK_APP_ACCESS: (state: any) => (app: any) => any;
        CHECK_OBJECT_ACCESS: (state: any, getters: any) => ({ name, route }: {
            name: any;
            route: any;
        }) => any;
        CHECK_OBJECT_ACCESS_BY_NAME: (state: any, getters: any) => (name: any) => any;
        CHECK_OBJECT_ACCESS_BY_ROUTE: (state: any, getters: any) => (route: any) => any;
        GET_OBJECT_SCOPE: (state: any, getters: any) => ({ name, route }: {
            name: any;
            route: any;
        }) => any;
        GET_OBJECT_SCOPE_BY_NAME: (state: any) => (name: any) => any;
        GET_OBJECT_SCOPE_BY_ROUTE: (state: any) => (route: any) => any;
        HAS_READ_ACCESS: (state: any, getters: any) => (checkedObject: any) => any;
        HAS_CREATE_ACCESS: (state: any, getters: any) => (checkedObject: any) => any;
        HAS_EDIT_ACCESS: (state: any, getters: any) => (checkedObject: any) => any;
        HAS_DELETE_ACCESS: (state: any, getters: any) => (checkedObject: any) => any;
    };
    actions: {
        BEFORE_OPEN_SESSION_HOOK: () => void;
        AFTER_OPEN_SESSION_HOOK: () => void;
        CONVERT_USER_SCOPE: (context: any, scope: any) => any;
        CONVERT_USER_PERMISSIONS: (context: any, initialPermissions: any) => {};
        OPEN_SESSION: (context: any, { instance }: {
            instance: any;
        }) => Promise<void>;
        SET_SESSION: (context: any, _session: any) => Promise<void>;
        LOGOUT: (context: any, { authUrl }?: {
            authUrl?: any;
        }) => Promise<void>;
        SET_APPLICATIONS_ACCESS: (context: any, access: any) => any;
        SET_LOADING: (context: any, isLoading: any) => void;
        RESET_STATE: (context: any) => void;
    };
    mutations: {
        SET_SESSION: (state: any, session: any) => void;
        SET_APPLICATIONS_ACCESS: (state: any, access: any) => void;
        SET_LOADING: (state: any, isLoading: any) => void;
        RESET_STATE: (state: any) => void;
    };
}
import BaseStoreModule from '../../../store/BaseStoreModules/BaseStoreModule.js';
