export interface IFPresentationUIMixin {
    /**
     * Whether a shape or table cell text editor is active in this presentation.
     * An active editor may contain a draft that has not reached the presentation model yet.
     */
    isTextEditing(): boolean;
    /**
     * Commits the current text draft in this presentation and closes its editor.
     * @returns Whether editing ended successfully, or there was no active editor.
     * Returns false if the draft could not be committed or IME input is in progress.
     * @example
     * ```ts
     * import '@univerjs-pro/slides-ui/facade';
     *
     * const presentation = univerAPI.getActivePresentation();
     * if (presentation && await presentation.endTextEditingAsync()) {
     *     const snapshot = presentation.save();
     * }
     * ```
     */
    endTextEditingAsync(): Promise<boolean>;
}
declare module '@univerjs-pro/slides/facade' {
    interface FPresentation extends IFPresentationUIMixin {
    }
}
