1 | import { User } from '@telegraf/types';
|
2 | import { FmtString, join } from './core/helpers/formatting';
|
3 | export { FmtString };
|
4 | declare const fmt: (parts: string | FmtString | readonly (string | FmtString)[], ...items: (FmtString | ({} | null | undefined))[]) => FmtString;
|
5 | declare const bold: (parts: string | FmtString | readonly (string | FmtString)[], ...items: (FmtString | ({} | null | undefined))[]) => FmtString;
|
6 | declare const italic: (parts: string | FmtString | readonly (string | FmtString)[], ...items: (FmtString | ({} | null | undefined))[]) => FmtString;
|
7 | declare const spoiler: (parts: string | FmtString | readonly (string | FmtString)[], ...items: (FmtString | ({} | null | undefined))[]) => FmtString;
|
8 | declare const strikethrough: (parts: string | FmtString | readonly (string | FmtString)[], ...items: (FmtString | ({} | null | undefined))[]) => FmtString;
|
9 | declare const underline: (parts: string | FmtString | readonly (string | FmtString)[], ...items: (FmtString | ({} | null | undefined))[]) => FmtString;
|
10 | declare const code: (parts: string | FmtString | readonly (string | FmtString)[], ...items: ({} | null | undefined)[]) => FmtString;
|
11 | declare const pre: (language: string) => (parts: string | FmtString | readonly (string | FmtString)[], ...items: ({} | null | undefined)[]) => FmtString;
|
12 | declare const link: (content: string | FmtString, url: string) => FmtString;
|
13 | declare const mention: (name: string | FmtString, user: number | User) => FmtString;
|
14 | export { fmt, bold, italic, spoiler, strikethrough, underline, code, pre, link, mention, join, };
|
15 |
|
\ | No newline at end of file |