import type { CollectionWithDefaults, EditorPersistOptions } from '@staticcms/core'; import type { WorkflowStatus } from '@staticcms/core/constants/publishModes'; 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" | "workflow-controls", string>; export interface EditorToolbarProps { isPersisting?: boolean; onPersist: (opts?: EditorPersistOptions) => Promise; onPersistAndNew: () => Promise; onPersistAndDuplicate: () => Promise; onDelete: () => Promise; onDuplicate: () => void; hasChanged: boolean; hasUnpublishedChanges: boolean; collection: CollectionWithDefaults; isNewEntry: boolean; isModification?: boolean; showPreviewToggle: boolean; previewActive: boolean; scrollSyncActive: boolean; showI18nToggle: boolean; i18nActive: boolean; togglePreview: MouseEventHandler; toggleScrollSync: MouseEventHandler; toggleI18n: MouseEventHandler; slug?: string | undefined; className?: string; showMobilePreview: boolean; onMobilePreviewToggle: () => void; onDiscardDraft: () => void; currentStatus: WorkflowStatus | undefined; isUpdatingStatus: boolean; onChangeStatus: (status: WorkflowStatus) => void; isPublishing: boolean; onPublish: (opts?: EditorPersistOptions) => Promise; onUnPublish: () => Promise; onDeleteUnpublishedChanges: () => Promise; onPublishAndNew: () => Promise; onPublishAndDuplicate: () => Promise; disabled: boolean; } declare const EditorToolbar: FC; export default EditorToolbar;