/// <reference types="react" />
import type Question from "../../../../../metabase-lib/v1/Question";
import type { Dataset, RawSeries } from "../../../../../metabase-types/api";
type MetricEditorProps = {
    question: Question;
    result: Dataset | null;
    rawSeries: RawSeries | null;
    reportTimezone: string;
    isDirty: boolean;
    isResultDirty: boolean;
    isRunning: boolean;
    onChange: (question: Question) => Promise<void>;
    onCreate: (question: Question) => Promise<void>;
    onSave: (question: Question) => Promise<void>;
    onCancel: (question: Question) => void;
    onRunQuery: () => Promise<void>;
    onCancelQuery: () => void;
};
export declare const MetricEditor: (props: MetricEditorProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
export {};
