import { TokenType, TokensType } from '../model'; export declare const enum InlineTag { Text = 0, Link = 1, Image = 2, Strong = 3, Em = 4, Code = 5, Math = 6, Del = 7, Br = 8, Abbrev = 9, Footnote = 10 } export declare const enum InlineOrder { Escape = 0, AutoLink = 1, Url = 2, Footnote = 3, Link = 4, RefLink = 5, NoLink = 6, Abbrev = 7, Strong = 8, Em = 9, Code = 10, Math = 11, Del = 12, Br = 13, Text = 14 } export interface InlineLink { [InlineTag.Link]: { l: string; t?: string; } & InlinePhrase; } export interface InlineImage { [InlineTag.Image]: { l: string; t?: string; _: string; }; } export interface InlineStrong { [InlineTag.Strong]: InlinePhrase; } export interface InlineEm { [InlineTag.Em]: InlinePhrase; } export interface InlineDel { [InlineTag.Del]: InlinePhrase; } export interface InlineBr { [InlineTag.Br]: {}; } export interface InlineCode { [InlineTag.Code]: { _: string; }; } export interface InlineMath { [InlineTag.Math]: { _: string; }; } export interface InlineAbbrev { [InlineTag.Abbrev]: { t?: string; _: string; }; } export interface InlineFootnote { [InlineTag.Footnote]: { l: string; }; } export interface InlinePhrase { _: TokensType; } export interface InlineText { [InlineTag.Text]: { _: string; }; } export interface InlineTokenMap extends InlineLink, InlineImage, InlineStrong, InlineEm, InlineDel, InlineCode, InlineAbbrev, InlineBr, InlineText { } export interface BasicInlineTokenMap extends InlineTokenMap { } export declare type BasicInlineToken = TokenType;