import type { Node, RichContent } from 'ricos-schema'; import type { Overwrite } from 'utility-types'; import type { RawDraftContentBlock, RawDraftContentState, RawDraftEntity, RawDraftEntityRange, RawDraftInlineStyleRange } from './draft-js'; export interface TextBlockStyle { 'font-size'?: string; color?: string; 'background-color'?: string; 'font-weight'?: string; 'font-style'?: string; 'text-decoration'?: string; 'line-height'?: string; 'padding-top'?: string; 'padding-bottom'?: string; } export interface DocumentStyle { headerOne?: TextBlockStyle; headerTwo?: TextBlockStyle; headerThree?: TextBlockStyle; headerFour?: TextBlockStyle; headerFive?: TextBlockStyle; headerSix?: TextBlockStyle; paragraph?: TextBlockStyle; } export type RicosInlineStyleRange = Overwrite; export type RicosEntityRange = Overwrite; export type RicosContentBlock = Overwrite; export type RicosEntity = Overwrite; export type RicosEntityMap = { [key: string]: RicosEntity; }; export interface RicosContent extends Overwrite { documentStyle?: DocumentStyle; VERSION?: string; ID?: string; } export interface DraftContent extends RicosContent { } type RawNode = Overwrite; export type RawRichContent = Overwrite; export declare function isDraftContent(content: any): content is DraftContent; export declare function isRichContent(content: any): content is RichContent; export {}; //# sourceMappingURL=contentTypes.d.ts.map