import { TiebaUserObject } from './author-handler'; export interface PostHandlerOptions { strip_links?: boolean; strip_images?: boolean; strip_small_images?: boolean; strip_stickers?: boolean; strip_extra_spaces?: boolean; } export interface TiebaThreadPostObject { id: number; content: string; updated?: string; number?: number; author?: TiebaUserObject; url?: string; } export declare class PostHandler { static readonly OPTIONS: { strip_links: boolean; strip_images: boolean; strip_small_images: boolean; strip_stickers: boolean; strip_extra_spaces: boolean; }; static readonly MIN_IMAGE_WIDTH: number; static readonly MIN_IMAGE_HEIGHT: number; static readonly REGEX: { LINK: RegExp; ID: RegExp; CONTENT: RegExp; CONTENT_BUBBLE: RegExp; UPDATED: RegExp; NUMBER: RegExp; STICKER: RegExp; IMAGE: RegExp; }; static extract(property: string, source: string): any; private options; constructor(options?: PostHandlerOptions); parse(source: string): TiebaThreadPostObject; }