import { ReactNode } from 'react';
import { RichTextV1Definition, SendMessage, type DeserializedRecord, type ResourceResolver, type Stylesheet, type Resolvable, type DataType } from '@makeswift/controls';
import { RichTextControl } from './control';
declare abstract class BaseDefinition extends RichTextV1Definition<ReactNode, RichTextControl> {
}
declare class Definition extends BaseDefinition {
    static deserialize(data: DeserializedRecord): Definition;
    resolveValue(data: DataType<BaseDefinition> | undefined, _resolver: ResourceResolver, _stylesheet: Stylesheet, control?: RichTextControl): Resolvable<ReactNode | undefined>;
    createInstance(sendMessage: SendMessage<any>): RichTextControl;
}
export { Definition as RichTextV1Definition, RichTextControl as RichTextV1Control };
//# sourceMappingURL=rich-text.d.ts.map