/** markdown V2 parse mode */ export declare class MarkdownV2 { static parseMode: "MarkdownV2"; get [Symbol.toStringTag](): string; /** * since MarkdownV2 requires escaping a lot of chars you can use this static * method for easier usage of MarkdownV2 via template strings * * @example * ```js * const message = MarkdownV2.build` * foo! bar~ ${MarkdownV2.bold('baz')} * ` * // NOTE: "foo! bar~" part will be automatically escaped! * ``` */ static build(template: TemplateStringsArray, ...args: unknown[]): string; /** @deprecated use `MarkdownV2.escape` instead */ static raw(source: string): string; /** escape all the danger characters */ static escape(source: string): string; /** bold text */ static bold(source: string, escape?: boolean): string; /** italic text */ static italic(source: string, escape?: boolean): string; /** underlined text */ static underline(source: string, escape?: boolean): string; /** strikethrough text */ static strikethrough(source: string, escape?: boolean): string; /** spoilered text */ static spoiler(source: string, escape?: boolean): string; /** uRL with text */ static url(source: string, link: string, escape?: boolean): string; /** mention the user */ static mention(source: string, id: number | string, escape?: boolean): string; /** preformatted code */ static code(source: string, escape?: boolean): string; /** preformatted code */ static pre(source: string, language?: string, escape?: boolean): string; /** quotation */ static blockquote(source: string, escape?: boolean): string; /** custom emoji */ static emoji(emoji: string, id: string): string; } //# sourceMappingURL=markdown-v2.d.ts.map