import type Yasgui from "../index";
import "./QueryBrowser.scss";
export default class QueryBrowser {
    private yasgui;
    private rootEl;
    private drawerEl;
    private headerEl;
    private bodyEl;
    private footerEl;
    private tooltipEl;
    private workspaceSelectEl;
    private searchEl;
    private backButtonEl;
    private listEl;
    private statusEl;
    private isOpen;
    private openerEl?;
    private selectedWorkspaceId?;
    private currentFolderId;
    private treeWorkspaceId?;
    private expandedFolderIds;
    private folderEntriesById;
    private folderLoadingById;
    private folderErrorById;
    private debouncedSearchHandle?;
    private refreshRunId;
    private queryPreviewById;
    private queryPreviewLoadingById;
    private lastRenderedSignature;
    private lastPointerPos;
    private entrySignature;
    private invalidateRenderCache;
    invalidateAndRefresh(workspaceId?: string): void;
    constructor(yasgui: Yasgui);
    getElement(): HTMLDivElement;
    open(openerEl?: HTMLElement): void;
    close(): void;
    toggle(openerEl?: HTMLElement): void;
    private getWorkspaces;
    private ensureWorkspaceSelection;
    private renderWorkspaceSelect;
    private setStatus;
    private resetTreeState;
    private folderKey;
    private ensureFolderLoaded;
    private formatStatusError;
    private clearList;
    private renderEmptyWorkspaceState;
    private formatQueryPreview;
    private ensureQueryPreview;
    private getManagedQueryIdFromMetadata;
    private findOpenManagedTabId;
    private showTooltip;
    private hideTooltip;
    private positionTooltip;
    private attachQueryHoverPreview;
    private getBackendForSelectedWorkspace;
    private versionRefFromVersionTag;
    private openManagedQueryInNewTab;
    private addQueryRowActions;
    private renderFlatEntries;
    private renderTree;
    refresh(): Promise<void>;
}
