import type { MutableRefObject } from 'react'; export declare const getHeader: () => { Authorization: any; }; /** * @desc 根据id获取所有父级 */ export declare function getParentListById(id: string, orgList?: any[], list?: any[], key?: string, pkey?: string): any[]; /** * 获取场所下的所有场所codes * @param {string} orgId * @param {Array} ids = [] */ export declare function getPlaceCodesWithParent(areaCode: string, list?: any[], areaCodes?: string[], key?: string, pkey?: string): any; export declare function nextTick(cb: () => void): void; export declare function tryCatch(resolveFn: () => Promise, rejectFn?: (e: unknown) => void): Promise; declare type TargetValue = T | undefined | null; declare type TargetType = HTMLElement | Element | Window | Document; export declare type BasicTarget = (() => TargetValue) | TargetValue | MutableRefObject>; export declare function getTargetElement(target: BasicTarget, defaultElement?: T): T; declare const getScrollTop: (el: Document | Element) => number; declare const getScrollHeight: (el: Document | Element) => number; declare const getClientHeight: (el: Document | Element) => number; export { getScrollTop, getScrollHeight, getClientHeight };