import type { ComponentTypeEnum } from '../../../../component/interface'; import type { IVChart } from '../../../../core/interface'; import type { IModelSpecInfo } from '../../../../model/interface'; import type { SeriesTypeEnum } from '../../../../series/interface'; import type { IChartSpec } from '../../../../typings'; export interface IMediaQueryActionFilterResult = any> { isChart?: boolean; modelType?: 'series' | 'region' | 'component'; type?: SeriesTypeEnum | ComponentTypeEnum; specKey?: keyof IChartSpec; modelInfo: IModelSpecInfo[]; } export interface IMediaQueryOption { globalInstance: IVChart; updateSpec: (spec: any, compile?: boolean, render?: boolean) => void; } export interface IMediaQueryCheckResult { isActive: boolean; hasChanged: boolean; } export interface IMediaQueryActionResult { chartSpec: any; hasChanged: boolean; }