import React from 'react'; import { ActionType } from './Editing'; export type { ActionType } from './Editing'; export interface EditorModeHeaderProps { editing: 'text' | 'image'; onChange: (action: ActionType) => void; title: string; onCancel: () => void; onDone: () => void; className?: string; /** * @default 0 */ animationDelay?: number; /** * Allows you to focus the done button when this renders for accessibility. */ doneButtonRef?: React.RefObject; /** * Heading ID for aria-labelledby reference. */ headingId?: string; disableDoneButton?: boolean; /** * @default 'Done' */ doneButtonText?: string; } declare const EditorModeHeader: ({ editing, onChange, title, onCancel, onDone, className, doneButtonRef, animationDelay, headingId, disableDoneButton, doneButtonText }: EditorModeHeaderProps) => JSX.Element; export default EditorModeHeader;