import Parser from '../../index'; import { MultiLineToken } from './index'; import { CommentLineToken } from '../nowiki/commentLine'; import { GalleryImageToken } from '../link/galleryImage'; import { ImagemapLinkToken } from '../imagemapLink'; import type { LintError } from '../../base'; import type { AstText, Token, AstNodes } from '../../internal'; /** * `` * @classdesc `{childNodes: [...CommentLineToken[], GalleryImageToken, ...(CommentLineToken|ImagemapLinkToken|AstText)[]]}` */ export declare abstract class ImagemapToken extends MultiLineToken { readonly name: 'imagemap'; readonly childNodes: readonly (GalleryImageToken | CommentLineToken | ImagemapLinkToken | AstText)[]; abstract get firstChild(): GalleryImageToken | CommentLineToken | undefined; abstract get lastChild(): GalleryImageToken | CommentLineToken | ImagemapLinkToken | AstText | undefined; abstract get children(): (GalleryImageToken | CommentLineToken | ImagemapLinkToken)[]; abstract get firstElementChild(): GalleryImageToken | CommentLineToken | undefined; abstract get lastElementChild(): GalleryImageToken | CommentLineToken | ImagemapLinkToken | undefined; /** 图片 */ get image(): GalleryImageToken | undefined; /** @param inner 标签内部wikitext */ constructor(inner?: string, config?: Parser.Config, accum?: Token[]); }