import { KeyPressEvent } from '../../inputEvents';
import Editor from '../../Editor';
import { ToolbarLocalization } from '../localization';
import ActionButtonWidget from './ActionButtonWidget';
import { ActionButtonIcon } from '../types';
declare class SaveActionWidget extends ActionButtonWidget {
    constructor(editor: Editor, localization: ToolbarLocalization, saveCallback: () => void, labelOverride?: Partial<ActionButtonIcon>);
    protected shouldAutoDisableInReadOnlyEditor(): boolean;
    protected onKeyPress(event: KeyPressEvent): boolean;
    mustBeInToplevelMenu(): boolean;
}
export default SaveActionWidget;
