import type { QueryModalType } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/query_builder/constants";
import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/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 {};
