import type { Y } from '@blockeditor/store';
import { Text } from '@blockeditor/store';
import { nothing } from 'lit';
import { type AffineInlineEditor, type AffineTextAttributes } from '../../../../_common/inline/presets/affine-inline-specs.js';
import { BaseCellRenderer } from '../base-cell.js';
export declare class RichTextCell extends BaseCellRenderer<Y.Text> {
    static styles: import("lit").CSSResult;
    get service(): import("../../../database-service.js").DatabaseService<AffineTextAttributes> | undefined;
    get inlineManager(): import("../../../../index.js").InlineManager<AffineTextAttributes>;
    get attributesSchema(): import("zod").ZodObject<Record<keyof AffineTextAttributes, import("zod").ZodTypeAny>, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
        code?: any;
        link?: any;
        reference?: any;
        bold?: any;
        strike?: any;
        color?: any;
        underline?: any;
        background?: any;
        italic?: any;
    }, {
        code?: any;
        link?: any;
        reference?: any;
        bold?: any;
        strike?: any;
        color?: any;
        underline?: any;
        background?: any;
        italic?: any;
    }>;
    get attributeRenderer(): import("@blockeditor/inline/types").AttributeRenderer<AffineTextAttributes>;
    private _richTextElement?;
    get inlineEditor(): AffineInlineEditor;
    connectedCallback(): void;
    private _initYText;
    render(): import("lit").TemplateResult | typeof nothing;
}
export declare class RichTextCellEditing extends BaseCellRenderer<Text> {
    static styles: import("lit").CSSResult;
    get service(): import("../../../database-service.js").DatabaseService<AffineTextAttributes> | undefined;
    get inlineManager(): import("../../../../index.js").InlineManager<AffineTextAttributes>;
    get attributesSchema(): import("zod").ZodObject<Record<keyof AffineTextAttributes, import("zod").ZodTypeAny>, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
        code?: any;
        link?: any;
        reference?: any;
        bold?: any;
        strike?: any;
        color?: any;
        underline?: any;
        background?: any;
        italic?: any;
    }, {
        code?: any;
        link?: any;
        reference?: any;
        bold?: any;
        strike?: any;
        color?: any;
        underline?: any;
        background?: any;
        italic?: any;
    }>;
    get attributeRenderer(): import("@blockeditor/inline/types").AttributeRenderer<AffineTextAttributes>;
    private _richTextElement?;
    get inlineEditor(): AffineInlineEditor;
    connectedCallback(): void;
    firstUpdated(): void;
    private _initYText;
    private _handleKeyDown;
    private _onSoftEnter;
    render(): import("lit").TemplateResult | typeof nothing;
}
declare global {
    interface HTMLElementTagNameMap {
        'affine-database-rich-text-cell-editing': RichTextCellEditing;
    }
}
export declare const richTextColumnConfig: import("../manager.js").ColumnConfig<Record<string, never>, Y.Text>;
//# sourceMappingURL=cell-renderer.d.ts.map