import type Metadata from "../../../../metabase-lib/v1/metadata/Metadata";
import type { Card } from "../../../../metabase-types/api";
import type { Dispatch } from "../../../../metabase-types/store";
type BlankQueryOptions = {
    db?: string;
    table?: string;
    segment?: string;
    metric?: string;
};
type QueryParams = BlankQueryOptions & {
    slug?: string;
    objectId?: string;
};
export declare function getParameterValuesForQuestion({ card, queryParams, metadata, }: {
    card: Card;
    queryParams?: QueryParams;
    metadata: Metadata;
}): {
    [k: string]: any;
};
/**
 * Merges .parameters, .dashboardId, and .dashcardId props from deserializedCard into card.
 * Sets an error page if there have been permissions or data changes to a dashboard such that:
 *  - If the user loses permissions to view the dashboard, the user will be navigated to an unauthed screen.
 *  - If the card is removed from the dashboard or some of the parameters mapped to it have been removed,
 *    the user will be navigated to an unauthed screen.
 * See https://github.com/metabase/metabase/pull/19300 for the origin of the error handling.
 */
export declare function propagateDashboardParameters({ card, deserializedCard, originalCard, dispatch, }: {
    card: Card;
    deserializedCard: Card;
    originalCard?: Card;
    dispatch: Dispatch;
}): Promise<Card<import("../../..-types/api").DatasetQuery>>;
export {};
