import { BaseInlineTokenizer, IBaseInlineTokenizerProps, IInlineTokenizer, IMatchInlineHookCreator, IParseInlineHookCreator, IPartialInlineToken, ITokenDelimiter, ITokenizer } from "@yozora/core-tokenizer"; import { Footnote, FootnoteType } from "@yozora/ast"; //#region src/types.d.ts type T = FootnoteType; type INode = Footnote; declare const uniqueName = "@yozora/tokenizer-footnote"; type IToken = IPartialInlineToken; interface IDelimiter extends ITokenDelimiter { /** * IDelimiter type. */ type: 'opener' | 'closer'; } type IThis = ITokenizer; type ITokenizerProps = Partial; //#endregion //#region src/match.d.ts /** * An inline footnote consists of a footnote text followed immediately by a right * square bracket ']'. * * Like the inline links, footnote could not be contained by other footnote. * * @see https://github.com/syntax-tree/mdast-util-footnote * @see https://github.com/remarkjs/remark-footnotes * @see https://github.com/syntax-tree/mdast#link * @see https://github.github.com/gfm/#links * @see https://www.markdownguide.org/extended-syntax/#footnotes */ declare const match: IMatchInlineHookCreator; //#endregion //#region src/parse.d.ts declare const parse: IParseInlineHookCreator; //#endregion //#region src/tokenizer.d.ts /** * Lexical Analyzer for inline footnote. * @see https://github.com/syntax-tree/mdast-util-footnote * @see https://github.com/remarkjs/remark-footnotes * @see https://github.com/syntax-tree/mdast#link * @see https://github.github.com/gfm/#links * @see https://www.markdownguide.org/extended-syntax/#footnotes */ export declare class FootnoteTokenizer extends BaseInlineTokenizer implements IInlineTokenizer { constructor(props?: ITokenizerProps); readonly match: IMatchInlineHookCreator; readonly parse: IParseInlineHookCreator; } //#endregion export { FootnoteTokenizer as default, uniqueName as FootnoteTokenizerName, type IThis as IFootnoteHookContext, type IToken as IFootnoteToken, type ITokenizerProps as IFootnoteTokenizerProps, match as footnoteMatch, parse as footnoteParse }; export {};