/**
 * @file 行内剧透语法
 * @module transformer/extends/inline/spoiler
 *
 * 语法：`!!文字!!`（开闭定界符，可选空格）
 * 点击显示：`!!文字!! {click}` 或 `!!文字!! {.click}`
 */
import { BaseInlineParser } from "../../../transformer/core/ParserBase.js";
import { MarkdownNode } from "../../../transformer/core/MarkdownNode.js";
import { InlineParseContext } from "../../../transformer/core/context/InlineParseContext";
import { RenderContext } from "../../../transformer/core/context/RenderContext";
/**
 * 行内剧透解析器。
 *
 * @extends {BaseInlineParser}
 */
declare class SpoilerInlineParser extends BaseInlineParser {
    constructor();
    canOpenAt(src: string, index: number, ctx: InlineParseContext): boolean;
    /** @inheritdoc */
    parse(src: string, index: number, ctx: InlineParseContext): {
        node: MarkdownNode;
        nextIndex: number;
    } | null;
    /** @inheritdoc */
    render(node: MarkdownNode, ctx: RenderContext): string;
}
declare const _default: SpoilerInlineParser;
export default _default;
//# sourceMappingURL=spoiler.d.ts.map