import { FilterValues, filterOption } from '../types/filters';
import { ExtendedEChartsOption } from '../types/echarts';

interface Props {
    configUrl?: string;
    config?: {
        filters?: filterOption[];
        charts?: ExtendedEChartsOption[];
    };
}
/**
 * 切換篩選面板顯示狀態
 */
declare function togglePopup(): void;
/**
 * 載入配置
 */
declare function loadConfig(): Promise<void>;
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {
    loadConfig: typeof loadConfig;
    togglePopup: typeof togglePopup;
    chartGridRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
    isLoading: import('vue').Ref<boolean, boolean>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
    "filter-change": (filters: FilterValues) => void;
    "charts-loaded": (charts: ExtendedEChartsOption[]) => void;
    error: (error: Error) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
    onError?: ((error: Error) => any) | undefined;
    "onFilter-change"?: ((filters: FilterValues) => any) | undefined;
    "onCharts-loaded"?: ((charts: ExtendedEChartsOption[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
    } : {
        type: import('vue').PropType<T[K]>;
        required: true;
    };
};
//# sourceMappingURL=ChartDashboard.vue.d.ts.map