import { SingleLineToken } from './index'; import { NoincludeToken } from '../nowiki/noinclude'; import { LinkToken } from '../link/index'; import { ExtLinkToken } from '../extLink'; import type { Config, LintError } from '../../base'; import type { AstText, ImagemapToken, GalleryImageToken, Token } from '../../internal'; /** * link inside the `` * * ``内的链接 * @classdesc `{childNodes: [AstText, LinkToken|ExtLinkToken, NoincludeToken]}` */ export declare abstract class ImagemapLinkToken extends SingleLineToken { #private; readonly childNodes: readonly [AstText, LinkToken | ExtLinkToken, NoincludeToken]; abstract get firstChild(): AstText; abstract get lastChild(): NoincludeToken; abstract get parentNode(): ImagemapToken | undefined; abstract get previousSibling(): GalleryImageToken | this | NoincludeToken | AstText | undefined; abstract get nextSibling(): this | NoincludeToken | AstText | undefined; get type(): 'imagemap-link'; /** * @param pre 链接前的文本 * @param linkStuff 内外链接 * @param post 链接后的文本 */ constructor(pre: string, linkStuff: readonly [string, string | undefined, string | undefined] | readonly [string, string | undefined], post: string, config: Config, accum?: Token[]); }