type Toggle = () => void;
type MainUiState = HTMLElement & {
    unsavedChanges: boolean;
};
type SaveMainUiState = MainUiState & {
    startLoading: () => void;
    stopLoading: () => void;
    toggleActive: () => void;
};
export declare function startMainUiLoading(saveButton: HTMLButtonElement): void;
export declare function stopMainUiLoading(saveButton: HTMLButtonElement): void;
export declare function editMainUi(ui: MainUiState, toggleActive: Toggle): void;
export declare function infoMainUi(ui: MainUiState, toggleInfo: Toggle): void;
export declare function saveMainUi(ui: SaveMainUiState, updateUpdatedByTooltip: () => void | Promise<void>): Promise<void>;
export declare function cancelMainUi(ui: MainUiState, toggleActive: Toggle): void;
export declare function logoutMainUi(ui: MainUiState): void;
export declare function toggleMainUiActive(host: HTMLElement): void;
export declare function toggleMainUiInfo(host: HTMLElement): void;
export {};
//# sourceMappingURL=mode-actions.d.ts.map