import { EChartsType } from 'echarts';
import { Ref } from 'vue';
import type { EChartsModule } from '../../types/chart-hook';
interface IOverride {
    I: Function;
    M: Function;
    S: Function;
    C: Object;
}
interface IHydrologyReturn {
    createOptions: (data: Record<string, unknown>) => Record<string, unknown> | null;
    setOptions: ((options: Record<string, unknown>, clear?: boolean) => void) | null;
    echarts: EChartsModule | null;
    getInstance: () => EChartsType | null;
    container: Ref<HTMLElement> | null;
    assemble: (value: Record<string, unknown>, options: Record<string, unknown>, chart?: EChartsType | null) => Record<string, unknown>;
    toSeries: Function;
    toMarks: Function;
    toIndices: Function;
    toggleTable?: (visible?: boolean) => void;
    toggleStatistic?: (visible?: boolean) => void;
}
export declare function useHydrology(chartRef?: HTMLElement | Ref, override?: Partial<IOverride>): IHydrologyReturn;
export {};
