import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
interface PreviewQueryButtonProps {
    onOpenModal?: (modalType: string) => void;
}
export declare const PreviewQueryButton: {
    ({ onOpenModal, }: PreviewQueryButtonProps): JSX.Element;
    shouldRender({ question }: PreviewQueryButtonOpts): boolean;
};
interface PreviewQueryButtonOpts {
    question: Question;
}
export {};
