type EventCallback = (data: any) => void; export default class DataSource { dsKey: string; data: any; dataUrl: any; events: { [key: string]: EventCallback[]; }; constructor(dataUrl: any); loadStaticData(data: any): void; load(dataUrl: any): Promise; reload(params: any): void; on(event: string, callback: EventCallback): void; trigger(event: string, data: any): void; } /** * * @param data 有 静态形式 包含 array / object;或者dataUrl形式 包含 string / object;或者 DataSource形式 * @returns */ export declare const resetDataSource: (data: any) => any; export declare const checkType: (value: any) => "数组" | "对象" | "字符串" | "其他类型"; export { toggleComponentDebug, isComponentMarkedForDebug, markComponentForDebug, unmarkComponentForDebug, getMarkedComponentIds, clearAllDebugMarks, debugStore } from './debugStore';