import { Module, PisellCore, ModuleOptions } from '../../types';
import { BaseModule } from '../BaseModule';
import type { ScheduleModule } from '../Schedule';
import type { OpenDataConfig, OpenDataFetchParams, OpenDataAvailabilityResult } from './types';
export * from './types';
export { computeAvailability } from './utils';
export declare class OpenDataModule extends BaseModule implements Module {
    protected defaultName: string;
    protected defaultVersion: string;
    private request;
    private window;
    private appPlugin;
    private store;
    private cacheId;
    private openCache;
    private fatherModule;
    private otherParams;
    constructor(name?: string, version?: string);
    initialize(core: PisellCore, options: ModuleOptions): Promise<void>;
    /**
     * 更新父级解决方案透传的运行态参数，并刷新 OpenData 缓存配置。
     *
     * @example
     * openDataModule.updateOtherParams({ openCache: true, cacheId: 'cache-2' })
     */
    updateOtherParams(params: Record<string, any>): void;
    fetchOpenData(params: OpenDataFetchParams): Promise<OpenDataConfig>;
    getOpenData(): OpenDataConfig | null;
    getLastFetchedAt(): number | null;
    checkAvailability(scheduleModule?: ScheduleModule): OpenDataAvailabilityResult;
    storeChange(): void;
}
