/** * Copyright 2023-present DreamNum Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import type { IDisposable, IPosition, Nullable } from '@univerjs/core'; import type { Observable } from 'rxjs'; export interface ICellEditorManagerParam extends Partial { show: boolean; } export interface ICellEditorBoundingClientRect { left: number; top: number; width: number; height: number; } export interface ISlideEditorManagerService { state$: Observable>; rect$: Observable>; focus$: Observable; dispose(): void; setState(param: ICellEditorManagerParam): void; getState(): Readonly>; setRect(param: ICellEditorBoundingClientRect): void; getRect(): Readonly>; setFocus(param: boolean): void; } export declare class SlideEditorManagerService implements ISlideEditorManagerService, IDisposable { private _state; private _rect; private readonly _state$; readonly state$: Observable>; private readonly _rect$; readonly rect$: Observable>; private _focus; private readonly _focus$; readonly focus$: Observable; dispose(): void; setState(param: ICellEditorManagerParam): void; getRect(): Readonly>; setRect(param: ICellEditorBoundingClientRect): void; getState(): Readonly>; setFocus(param?: boolean): void; private _refresh; } export declare const ISlideEditorManagerService: import("@wendellhu/redi").IdentifierDecorator;