import type { BlockQuoteContext, CodeBlockContext, HeadingContext, ListContext, ListItemContext, ParagraphContext, SpoilerContext, TableCellContext, TableContext, TableHeaderCellContext, TableRowContext } from './contexts.js'; import type { BlockQuoteOptions, CodeBlockOptions, CommentLinkOptions, EmbedOptions, FormatOptions, HeadingOptions, ImageOptions, LinkOptions, ListOptions, PostLinkOptions, SubredditLinkOptions, TableHeaderCellOptions, TextOptions, UserLinkOptions, UserMentionOptions, VideoOptions } from './options.js'; import type { AnimatedImage, BlockQuote, CodeBlock, CommentLink, Embed, FormatRange, Heading, HorizontalRule, Image, LineBreak, Link, List, ListItem, Paragraph, PostLink, RawText, SpoilerText, SubredditLink, Table, TableCell, TableHeaderCell, TableRow, Text, UserLink, UserMention, Video } from './types.js'; /** * * @param opts {@link ImageOptions} * @returns AnimatedImage */ export declare function makeAnimatedImage(opts: ImageOptions): AnimatedImage; export declare function makeBlockQuote(opts: BlockQuoteOptions, cb: (blockQuote: BlockQuoteContext) => void): BlockQuote; export declare function makeCodeBlock(opts: CodeBlockOptions, cb: (codeBlock: CodeBlockContext) => void): CodeBlock; export declare function makeCommentLink(opts: CommentLinkOptions): CommentLink; export declare function makeHeadingContext(opts: HeadingOptions, cb: (heading: HeadingContext) => void): Heading; export declare function makeEmbed(opts: EmbedOptions): Embed; export declare function makeFormatting(opts: FormatOptions): FormatRange; export declare function makeHorizontalRule(): HorizontalRule; export declare function makeImage(opts: ImageOptions): Image; export declare function makeLineBreak(): LineBreak; export declare function makeLink(opts: LinkOptions): Link; export declare function makeList(opts: ListOptions, cb: (list: ListContext) => void): List; export declare function makeListItem(cb: (item: ListItemContext) => void): ListItem; export declare function makeParagraph(cb: (paragraph: ParagraphContext) => void): Paragraph; export declare function makePostLink(opts: PostLinkOptions): PostLink; export declare function makeRawText(text: string): RawText; export declare function makeSpoilerText(cb: (spoiler: SpoilerContext) => void): SpoilerText; export declare function makeSubredditLink(opts: SubredditLinkOptions): SubredditLink; export declare function makeTable(cb: (table: TableContext) => void): Table; export declare function makeTableCell(cb: (cell: TableCellContext) => void): TableCell; export declare function makeTableHeaderCell(opts: TableHeaderCellOptions, cb: (cell: TableHeaderCellContext) => void): TableHeaderCell; export declare function makeTableRow(cb: (row: TableRowContext) => void): TableRow; export declare function makeText(opts: TextOptions): Text; export declare function makeUserLink(opts: UserLinkOptions): UserLink; export declare function makeUserMention(opts: UserMentionOptions): UserMention; export declare function makeVideo(opts: VideoOptions): Video; //# sourceMappingURL=elements.d.ts.map