import { ShadowlessElement } from '@blockeditor/lit';
import type { Text } from '@blockeditor/store';
declare const DatabaseTitle_base: typeof ShadowlessElement & import("@blockeditor/global/utils").Constructor<import("@blockeditor/lit").DisposableClass>;
export declare class DatabaseTitle extends DatabaseTitle_base {
    static styles: import("lit").CSSResult;
    titleText: Text;
    readonly: boolean;
    onPressEnterKey?: () => void;
    isComposing: boolean;
    private richText;
    get inlineEditor(): import("../../../index.js").AffineInlineEditor;
    get inlineEditorContainer(): import("@blockeditor/inline/inline-editor").InlineRootElement<import("../../../index.js").AffineTextAttributes>;
    firstUpdated(): void;
    getUpdateComplete(): Promise<boolean>;
    private _onKeyDown;
    private isActive;
    private _onTitleFocus;
    private _onTitleBlur;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'affine-database-title': DatabaseTitle;
    }
}
export {};
//# sourceMappingURL=title.d.ts.map