import { IConfigService, IConfig } from '@antv/dipper-core'; export declare function useConfigService(): { globalConfig: Partial>; setConfig: (field: string, value: any) => void; updateLegend: (id: string, value: any) => void; updateControl: (type: string, value: any) => void; setWidgetsOptions: (key: string, options: Record) => void; getWidgetsOptions: (key: string) => Record; setWidgetsValue: (key: string, options: Record) => void; getWidgetsValue: (key: string) => Record; configService: IConfigService; };