import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
import type { DashboardId, DashCardId, Dataset, VisualizationSettings } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export interface DownloadQueryResultsOpts {
    type: string;
    question: Question;
    result: Dataset;
    enableFormatting?: boolean;
    dashboardId?: DashboardId;
    dashcardId?: DashCardId;
    uuid?: string;
    token?: string;
    params?: Record<string, unknown>;
    visualizationSettings?: VisualizationSettings;
}
export declare const downloadQueryResults: (opts: DownloadQueryResultsOpts) => () => Promise<void>;
export declare function getDatasetDownloadUrl(url: string, params?: URLSearchParams): string;
