import type { Dataset } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import { type UseDownloadDataParams } from "../QueryDownloadPopover/use-download-data";
export type QueryDownloadWidgetProps = {
    className?: string;
} & Pick<UseDownloadDataParams, "question" | "result"> & Partial<Omit<UseDownloadDataParams, "question" | "result">>;
declare const QueryDownloadWidget: {
    ({ className, question, result, dashboardId, dashcardId, uuid, token, visualizationSettings, }: QueryDownloadWidgetProps): import("react/jsx-runtime").JSX.Element;
    shouldRender({ result }: QueryDownloadWidgetOpts): boolean | undefined;
};
interface QueryDownloadWidgetOpts {
    result?: Dataset;
}
export default QueryDownloadWidget;
