import type { QueryModalType } from "../../../../query_builder/constants";
import type Question from "../../../../../metabase-lib/v1/Question";
interface PreviewQueryButtonProps {
    onOpenModal?: (modalType: QueryModalType) => void;
}
export declare const PreviewQueryButton: {
    ({ onOpenModal, }: PreviewQueryButtonProps): JSX.Element;
    shouldRender({ question }: PreviewQueryButtonOpts): boolean;
};
interface PreviewQueryButtonOpts {
    question: Question;
}
export {};
