import type { CollectionWithDefaults } from '@staticcms/core';
import type { FC, MouseEventHandler } from 'react';
import './EditorToolbar.css';
export declare const classes: Record<"root" | "delete-button" | "more-menu" | "more-menu-button" | "more-menu-label-icon" | "preview-toggle" | "discard-button" | "publish-button" | "publish-button-icon" | "publish-button-label", string>;
export interface EditorToolbarProps {
    isPersisting?: boolean;
    onPersist: () => Promise<void>;
    onDelete: () => Promise<void>;
    hasChanged: boolean;
    collection: CollectionWithDefaults;
    isNewEntry: boolean;
    showPreviewToggle: boolean;
    previewActive: boolean;
    scrollSyncActive: boolean;
    togglePreview: MouseEventHandler;
    toggleScrollSync: MouseEventHandler;
    slug?: string | undefined;
    className?: string;
    showMobilePreview: boolean;
    onMobilePreviewToggle: () => void;
    onDiscardDraft: () => void;
    disabled: boolean;
}
declare const EditorToolbar: FC<EditorToolbarProps>;
export default EditorToolbar;
