import { Schema } from '@formily/react'; /** * 获取localStorage */ declare const getLocalStorage: (name: string) => string; /** 获取域名 * portal_back_url 后台 * portal_pre_url 前台 * mca_back_url 后台mca * mca_pre_url 前台mca * */ declare const getDomain: (type?: string) => any; declare const getConfigUrl: (topicId: any, searchType: any, templateId?: string) => string; declare const hasPermission: (arr: any) => boolean; declare const pageScrollToTop: () => void; declare const getQuery: (url: any) => {}; /** * @param { schema } * @return { fieldListItem[] } * 获取某节点的所有字段fieldList */ declare const getFieldListFromSchema: (schema: Schema) => string[]; export { getLocalStorage, getDomain, getConfigUrl, hasPermission, pageScrollToTop, getQuery, getFieldListFromSchema, };