import type { QuestionCreatorOpts } from "../../../metabase-lib/v1/Question";
import type { CardId, Card as SavedCard } from "../../../metabase-types/api";
type Card = Partial<SavedCard> & {
    card_id?: CardId | string;
    model?: "card" | "dataset";
};
export type QuestionUrlBuilderParams = {
    mode?: "view" | "notebook" | "query";
    hash?: Card | string;
    query?: Record<string, unknown> | string;
    objectId?: number | string;
};
export declare function question(card: Partial<Pick<Card, "id" | "name" | "type" | "card_id" | "model" | "collection_id" | "dashboard_id">> | null, { mode, hash, query, objectId, }?: QuestionUrlBuilderParams): string;
export declare function serializedQuestion(card: Card, opts?: {}): string;
type NewQuestionUrlBuilderParams = QuestionCreatorOpts & {
    mode?: "view" | "notebook" | "query";
    creationType?: string;
    objectId?: number | string;
};
export declare function newQuestion({ mode, creationType, objectId, ...options }: NewQuestionUrlBuilderParams): string;
export declare function publicQuestion({ uuid, type, query, includeSiteUrl, }: {
    uuid: string;
    type?: string | null;
    query?: string;
    includeSiteUrl?: boolean;
}): string;
export declare function embedCard(token: string, type?: string | null): string;
export declare function tableRowsQuery(databaseId: number | string, tableId: number | string, metricId?: number | string, segmentId?: number | string): string;
export declare function xrayModel(id: CardId): string;
export {};
