import { type WorkPresentationDesignContent } from '../work-presentation-layouts'; import type { WorkPresentationContent, WorkPresentationLayout, WorkPresentationMaster, WorkSlide, WorkSlideElement } from '../work-types'; import type { PresentationDesignMode } from './presentation-editor-types'; export interface PresentationDesignCommands { addPlaceholder: (type: 'body' | 'title') => void; applyLayout: (layoutId: string) => void; close: () => void; createLayout: (copyCurrent: boolean) => void; deleteLayout: () => void; edit: (mode: PresentationDesignMode) => void; renameLayout: (name: string) => void; renameMaster: (name: string) => void; setActiveBackground: (background: string) => void; setLayoutBackground: (background: string | undefined) => void; setMasterBackground: (background: string) => void; toggleDesignPanel: () => void; toggleLayoutBackground: (enabled: boolean) => void; } export declare function usePresentationDesignCommands({ activeElements, activeTargetId, designContent, designMode, designOpen, onChange, onClearSelection, onCloseComments, onEditElement, onSetDesignMode, onSetDesignOpen, selectedLayout, selectedMaster, selectedSlide, }: { activeElements: readonly WorkSlideElement[]; activeTargetId: string | undefined; designContent: WorkPresentationDesignContent; designMode: PresentationDesignMode; designOpen: boolean; onChange: (content: WorkPresentationContent) => void; onClearSelection: () => void; onCloseComments: () => void; onEditElement: (id: string) => void; onSetDesignMode: (mode: PresentationDesignMode) => void; onSetDesignOpen: (open: boolean) => void; selectedLayout: WorkPresentationLayout | undefined; selectedMaster: WorkPresentationMaster | undefined; selectedSlide: WorkSlide; }): PresentationDesignCommands;