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