import { MultiLineToken } from './index'; import { GalleryImageToken } from '../link/galleryImage'; import { CommentLineToken } from '../nowiki/commentLine'; import type { Config, LintError } from '../../base'; import type { AstText, Token } from '../../internal'; declare type Child = GalleryImageToken | CommentLineToken; /** * `` * @classdesc `{childNodes: (GalleryImageToken|CommentLineToken|AstText)[]}` */ export declare abstract class GalleryToken extends MultiLineToken { #private; readonly name: 'gallery'; readonly childNodes: readonly (AstText | Child)[]; abstract get firstChild(): AstText | Child | undefined; abstract get lastChild(): AstText | Child | undefined; /** @param inner 标签内部wikitext */ constructor(inner?: string, config?: Config, accum?: Token[]); } export {};