import type { Editor } from '@tiptap/core'; import { type PointerEvent, type RefObject } from 'react'; import type { OfficeKernelPresentationSnapGuide } from '../../../kernel/office-kernel-protocol'; import { type WorkspaceContextMenuEvent } from '../../workspace/components/workspace-context-menu'; import type { WorkPresentationDesignContent } from '../work-presentation-layouts'; import type { WorkPresentationContent, WorkPresentationLayout, WorkPresentationMaster, WorkSlide, WorkSlideElement } from '../work-types'; import type { PresentationEditorCommands } from './presentation-command-types'; import type { PresentationDesignMode } from './presentation-editor-types'; export type PresentationWorkspaceCommands = Pick; export interface PresentationWorkspaceProps { activeBackground: string; activeCommentId: string | null; activeElements: WorkSlideElement[]; aspectRatio: string; canvasName: string; canvasRef: RefObject; commands: PresentationWorkspaceCommands; content: WorkPresentationContent; designContent: WorkPresentationDesignContent; designMode: PresentationDesignMode; inheritedElements: WorkSlideElement[]; placeholderGuides: WorkSlideElement[]; editingElementId: string | null; selectedElementIds: readonly string[]; selectedLayout: WorkPresentationLayout | undefined; selectedMaster: WorkPresentationMaster | undefined; selectedSlide: WorkSlide; snapGuides: OfficeKernelPresentationSnapGuide[]; notesVisible: boolean; viewMode: 'normal' | 'sorter'; zoom: number; onBeginDrag: (event: PointerEvent, element: WorkSlideElement, mode: 'move' | 'resize') => void; onContinueDrag: (event: PointerEvent) => void; onDragCancel: () => void; onDragEnd: (event: PointerEvent) => void; onOpenContextMenu: (event: WorkspaceContextMenuEvent, slide: WorkSlide, slideIndex: number, element?: WorkSlideElement | null) => void; onTextEditorChange: (elementId: string, editor: Editor | null) => void; onTextSelectionChange: () => void; } export declare function PresentationWorkspace({ activeBackground, activeCommentId, activeElements, aspectRatio, canvasName, canvasRef, commands, content, designContent, designMode, inheritedElements, placeholderGuides, editingElementId, selectedElementIds, selectedLayout, selectedMaster, selectedSlide, snapGuides, notesVisible, viewMode, zoom, onBeginDrag, onContinueDrag, onDragCancel, onDragEnd, onOpenContextMenu, onTextEditorChange, onTextSelectionChange, }: PresentationWorkspaceProps): import("react").JSX.Element;