export type MainUiAction = () => void | Promise<void>;
export interface MainUiElementRefs {
    shadowRoot: ShadowRoot;
    editButton: HTMLButtonElement;
    infoButton: HTMLButtonElement;
    saveButton: HTMLButtonElement;
    cancelButton: HTMLButtonElement;
    logoutButton: HTMLButtonElement;
    editNavButton: HTMLButtonElement | null;
    filemanagerButton: HTMLButtonElement;
    refreshButton: HTMLButtonElement | null;
    duplicateButton: HTMLButtonElement | null;
    previewButton: HTMLButtonElement | null;
    playersContainer: HTMLElement;
}
export interface MainUiHandlers {
    openFileManager: MainUiAction;
    editNav: MainUiAction;
    refreshSite: MainUiAction;
    showDuplicationModal: MainUiAction;
    openPreview: MainUiAction;
    info: MainUiAction;
    edit: MainUiAction;
    save: MainUiAction;
    cancel: MainUiAction;
    logout: MainUiAction;
    keyDown: (e: KeyboardEvent) => void;
    beforeUnload: (e: Event) => void;
}
export interface MainUiShortcutContext {
    host: HTMLElement;
    saveButton: HTMLButtonElement;
    filemanagerButton: HTMLButtonElement;
    infoButton: HTMLButtonElement;
    logoutButton: HTMLButtonElement;
    editButton: HTMLButtonElement;
    editNavButton: HTMLButtonElement | null;
    save: MainUiAction;
    openFileManager: MainUiAction;
    info: MainUiAction;
    editNav: MainUiAction;
    logout: MainUiAction;
    cancel: MainUiAction;
    edit: MainUiAction;
    openPreview: MainUiAction;
}
//# sourceMappingURL=types.d.ts.map