import type Yasgui from "../index";
import "./SaveManagedQueryModal.scss";
export interface SaveManagedQueryModalResult {
    workspaceId: string;
    folderPath: string;
    name: string;
    filename: string;
    message?: string;
}
export default class SaveManagedQueryModal {
    private yasgui;
    private overlayEl;
    private modalEl;
    private formEl;
    private workspaceSelectEl;
    private folderPathEl;
    private folderPickerToggleEl;
    private folderPickerEl;
    private folderPickerPathEl;
    private folderPickerListEl;
    private folderPickerErrorEl;
    private newFolderNameEl;
    private nameEl;
    private filenameEl;
    private messageEl;
    private nameRowEl;
    private filenameRowEl;
    private messageRowEl;
    private messageLabelEl;
    private saveBtn;
    private cancelBtn;
    private saveBtnOriginalText;
    private filenameTouched;
    private folderPickerOpen;
    private folderBrowsePath;
    private resolve?;
    private reject?;
    constructor(yasgui: Yasgui);
    private applyWorkspaceTypeUI;
    private folderRow;
    private row;
    private isOpen;
    private open;
    private close;
    private cancel;
    private setLoading;
    notifySaveInProgress(): void;
    notifySaveComplete(): void;
    private submit;
    show(defaults?: Partial<SaveManagedQueryModalResult>): Promise<SaveManagedQueryModalResult>;
    private suggestFilenameFromName;
    private getSelectedWorkspace;
    private refreshFolderPicker;
    private createNewFolderSelection;
}
