export declare type TextType = { type: 'text'; value: string; }; export declare type ElementType = { type: 'element'; tagName: 'p' | 'h3' | 'strong' | 'em' | 'ul' | 'ol' | 'li' | 'br' | 'a' | 'img' | 'code' | 'pre'; properties: {}; children: ASTChildType[]; }; declare type CustomEmojiType = { type: 'element'; tagName: 'img'; properties: { src: string; 'data-src': string; 'data-emoji-name': string; }; children: []; }; declare type CustomImageType = { type: 'element'; tagName: 'img'; properties: { src: string; alt?: string; }; children: []; }; export declare type ASTChildType = ElementType | TextType | CustomEmojiType | CustomImageType; export declare type ASTType = { type: 'root'; children?: ASTChildType[]; }; export {}; //# sourceMappingURL=types.d.ts.map