import type { LocationDescriptorObject } from "history";
import type { DatasetEditorTab, QueryBuilderMode } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store";
type LocationQBModeResult = {
    queryBuilderMode: QueryBuilderMode;
    datasetEditorTab?: DatasetEditorTab;
};
export declare function getQueryBuilderModeFromLocation(location: LocationDescriptorObject): LocationQBModeResult;
export {};
