import { ShadowlessElement } from '@blockeditor/lit';
import type { RichText } from '../../../../_common/components/rich-text/rich-text.js';
import type { ShapeElement } from '../../../../surface-block/index.js';
import type { EdgelessPageBlockComponent } from '../../edgeless-page-block.js';
declare const EdgelessShapeTextEditor_base: typeof ShadowlessElement & import("@blockeditor/global/utils").Constructor<import("@blockeditor/lit").DisposableClass>;
export declare class EdgelessShapeTextEditor extends EdgelessShapeTextEditor_base {
    richText: RichText;
    element: ShapeElement;
    edgeless: EdgelessPageBlockComponent;
    get inlineEditor(): import("../../../../index.js").AffineInlineEditor;
    get inlineEditorContainer(): import("@blockeditor/inline/inline-editor").InlineRootElement<import("../../../../index.js").AffineTextAttributes>;
    private _keeping;
    private _resizeObserver;
    setKeeping(keeping: boolean): void;
    private _updateHeight;
    firstUpdated(): void;
    getUpdateComplete(): Promise<boolean>;
    private _unmount;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'edgeless-shape-text-editor': EdgelessShapeTextEditor;
    }
}
export {};
//# sourceMappingURL=edgeless-shape-text-editor.d.ts.map