import { type DeltaInsert } from '@blockeditor/inline';
import { ShadowlessElement } from '@blockeditor/lit';
import { type StyleInfo, styleMap } from 'lit/directives/style-map.js';
import type { AffineTextAttributes } from '../affine-inline-specs.js';
export declare function affineTextStyles(props: AffineTextAttributes, override?: Readonly<StyleInfo>): ReturnType<typeof styleMap>;
export declare class AffineText extends ShadowlessElement {
    static styles: import("lit").CSSResult;
    delta: DeltaInsert<AffineTextAttributes>;
    render(): import("lit").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'affine-text': AffineText;
    }
}
//# sourceMappingURL=affine-text.d.ts.map