export interface ApiResponse { success: boolean; message: string; code: number; result: T; timestamp: number; } export interface OptionItem { value: string | number; text: string; title?: string; [key: string]: any; } declare const addRole: (params: any) => Promise; declare const editRole: (params: any) => Promise; declare const checkRoleCode: (params: any) => Promise; declare const queryall: (params: any) => Promise; declare const addUser: (params: any) => Promise; declare const editUser: (params: any) => Promise; declare const queryUserRole: (params: any) => Promise; declare const getUserList: (params: any) => Promise; declare const frozenBatch: (params: any) => Promise; declare const checkOnlyUser: (params: any) => Promise; declare const changePassword: (params: any) => Promise; declare const addPermission: (params: any) => Promise; declare const editPermission: (params: any) => Promise; declare const getPermissionList: (params: any) => Promise; declare const getSystemMenuList: (params: any) => Promise; declare const getSystemSubmenu: (params: any) => Promise; declare const getSystemSubmenuBatch: (params: any) => Promise; declare const queryTreeList: (params: any) => Promise; declare const queryTreeListForRole: (params: any) => Promise; declare const queryListAsync: (params: any) => Promise; declare const queryRolePermission: (params: any) => Promise; declare const saveRolePermission: (params: any) => Promise; declare const queryPermissionsByUser: () => Promise; declare const loadAllRoleIds: (params: any) => Promise; declare const getPermissionRuleList: (params: any) => Promise; declare const queryPermissionRule: (params: any) => Promise; declare const queryDepartTreeList: (params: any) => Promise; declare const queryDepartTreeSync: (params: any) => Promise; declare const queryIdTree: (params: any) => Promise; declare const queryParentName: (params: any) => Promise; declare const searchByKeywords: (params: any) => Promise; declare const deleteByDepartId: (params: any) => Promise; declare const queryDepartPermission: (params: any) => Promise; declare const saveDepartPermission: (params: any) => Promise; declare const queryTreeListForDeptRole: (params: any) => Promise; declare const queryDeptRolePermission: (params: any) => Promise; declare const saveDeptRolePermission: (params: any) => Promise; declare const queryMyDepartTreeList: (params: any) => Promise; declare const deleteLog: (params: any) => Promise; declare const deleteLogList: (params: any) => Promise; declare const addDict: (params: any) => Promise; declare const editDict: (params: any) => Promise; declare const treeList: (params: any) => Promise; declare const addDictItem: (params: any) => Promise; declare const editDictItem: (params: any) => Promise; export declare const ajaxGetDictItems: (code: any, params: any) => Promise>; export declare function getDictItemsFromCache(dictCode: any): any; declare const doReleaseData: (params: any) => Promise; declare const doReovkeData: (params: any) => Promise; declare const getLoginfo: (params: any) => Promise; declare const getVisitInfo: (params: any) => Promise; declare const queryUserByDepId: (params: any) => Promise; declare const duplicateCheck: (params: any) => Promise; declare const loadCategoryData: (params: any) => Promise; declare const checkRuleByCode: (params: any) => Promise; declare const getUserNoticeInfo: (params: any) => Promise; export declare const transitRESTful: { get: (url: any, parameter: any) => Promise; post: (url: any, parameter: any) => Promise; put: (url: any, parameter: any) => Promise; http: (url: any, parameter: any) => Promise; }; export { addRole, editRole, checkRoleCode, addUser, editUser, queryUserRole, getUserList, queryall, frozenBatch, checkOnlyUser, changePassword, getPermissionList, addPermission, editPermission, queryTreeList, queryListAsync, queryRolePermission, saveRolePermission, queryPermissionsByUser, loadAllRoleIds, getPermissionRuleList, queryPermissionRule, queryDepartTreeList, queryDepartTreeSync, queryIdTree, queryParentName, searchByKeywords, deleteByDepartId, deleteLog, deleteLogList, addDict, editDict, treeList, addDictItem, editDictItem, doReleaseData, doReovkeData, getLoginfo, getVisitInfo, queryUserByDepId, duplicateCheck, queryTreeListForRole, getSystemMenuList, getSystemSubmenu, getSystemSubmenuBatch, loadCategoryData, checkRuleByCode, queryDepartPermission, saveDepartPermission, queryTreeListForDeptRole, queryDeptRolePermission, saveDeptRolePermission, queryMyDepartTreeList, getUserNoticeInfo };