import * as Lib from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib";
import type StructuredQuery from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/queries/StructuredQuery";
export { DISPLAY_QUOTES, EDITOR_QUOTES } from "./config";
type Options = {
    startRule: string;
    [key: string]: any;
} & ({
    legacyQuery: StructuredQuery;
    query?: never;
    stageIndex: never;
} | {
    legacyQuery?: never;
    query: Lib.Query;
    stageIndex: number;
    expressionIndex: number | undefined;
});
export declare function format(mbql: any, options: Options): string;
