import { Token } from './index'; import type { LintError, Config } from '../base'; import type { Title } from '../lib/title'; import type { AtomToken, FileToken } from '../internal'; export type GalleryImageTypes = 'gallery-image' | 'imagemap-image'; /** * image parameter * * 图片参数 */ export declare abstract class ImageParameterToken extends Token { #private; readonly name: string; abstract get parentNode(): FileToken | undefined; abstract get nextSibling(): this | undefined; abstract get previousSibling(): AtomToken | this | undefined; get type(): 'image-parameter'; /** * thumbnail * * 缩略图 * @since v1.29.0 */ get thumb(): Title | undefined; /** image link / 图片链接 */ get link(): string | Title | undefined; /** * @param str 图片参数 * @param extension 文件扩展名 * @param type 图库节点类型 */ constructor(str: string, extension: string | undefined, type: GalleryImageTypes | undefined, config: Config, accum?: Token[]); /** * Get the parameter value * * 获取参数值 */ getValue(): string | true; }