import type { BackendType, ReadResult } from "./types";
import type { WorkspaceBackend } from "./backends/WorkspaceBackend";
export declare function getEndpointToAutoSwitch(backendType: BackendType, readResult: ReadResult): string | undefined;
type NewTabLike = {
    setQuery(queryText: string): void;
    setEndpoint(endpoint: string): void;
    setName(name: string): void;
};
export declare function openManagedQuery(options: {
    backend: WorkspaceBackend;
    queryId: string;
    queryLabel?: string;
    createNewTab: () => NewTabLike;
}): Promise<void>;
export {};
