import { AxiosResponse } from 'axios';
export declare function useSysApi(): {
    getSysInfo: (id: any) => Promise< AxiosResponse<any, any, {}>>;
    getSmPublicKey: () => Promise< AxiosResponse<any, any, {}>>;
    getMenuTree: () => Promise< AxiosResponse<any, any, {}>>;
    getMenuUserMenuList: () => Promise< AxiosResponse<any, any, {}>>;
    addUserMenu: (data: any) => Promise< AxiosResponse<any, any, {}>>;
    setNoticeRead: (data: any) => Promise< AxiosResponse<any, any, {}>>;
    getNoticeTitle: () => Promise< AxiosResponse<any, any, {}>>;
    getNoticeUnReadList: () => Promise< AxiosResponse<any, any, {}>>;
    NoticePageReceived: (data: any) => Promise< AxiosResponse<any, any, {}>>;
    getUpgradeLastUnRead: () => Promise< AxiosResponse<any, any, {}>>;
    getUserInfo: () => Promise< AxiosResponse<any, any, {}>>;
    getUserRoleTableList: () => Promise< AxiosResponse<any, any, {}>>;
    getConstList: () => Promise< AxiosResponse<any, any, {}>>;
    getPosList: () => Promise< AxiosResponse<any, any, {}>>;
    getOwnRoleListById: (userid: any) => Promise< AxiosResponse<any, any, {}>>;
    getRoleList: () => Promise< AxiosResponse<any, any, {}>>;
    getSysOrgChildTreePidLevel: (pid: any, level: any) => Promise< AxiosResponse<any, any, {}>>;
    getOrgList: (params: any) => Promise< AxiosResponse<any, any, {}>>;
    getUserBaseInfo: () => Promise< AxiosResponse<any, any, {}>>;
    getOwnExtOrgListByid: (userid: any) => Promise< AxiosResponse<any, any, {}>>;
    getAllDictList: () => Promise< AxiosResponse<any, any, {}>>;
    verifyPwdExpirationTime: () => Promise< AxiosResponse<any, any, {}>>;
    changePwd: (data: any) => Promise< AxiosResponse<any, any, {}>>;
    resetPwd: (data: any) => Promise< AxiosResponse<any, any, {}>>;
    unlockLogin: (data: any) => Promise< AxiosResponse<any, any, {}>>;
    changeToken: (data: any) => Promise< AxiosResponse<any, any, {}>>;
    Logout: () => Promise< AxiosResponse<any, any, {}>>;
    unLockScreen: (password: any) => Promise< AxiosResponse<any, any, {}>>;
    getOnlineUserList: (data: any) => Promise< AxiosResponse<any, any, {}>>;
};
/**
 * 包装 Promise 并返回 [Error, any]
 * @param promise Promise 方法
 * @param errorExt 自定义错误信息（拓展）
 * @returns [Error, any]
 */
export declare function feature<T, U = Error>(promise: Promise<T>, errorExt?: object): Promise<[U, undefined] | [null, T]>;
