import type { DataQueryResponse, PanelConfig } from '../../_core';
import type { InjectionKey, Ref } from 'vue';
export interface PanelEditorContextValue {
    panel: Ref<PanelConfig>;
    onChange: (patch: Partial<PanelConfig>) => void;
    previewData: Ref<DataQueryResponse | null>;
    numericFieldNames: Ref<string[]>;
    allFieldNames: Ref<string[]>;
}
export declare const PANEL_EDITOR_KEY: InjectionKey<PanelEditorContextValue>;
export declare function providePanelEditor(ctx: PanelEditorContextValue): void;
export declare function usePanelEditor(): PanelEditorContextValue;
