import { BaseExtractor, ExtractorOptions } from './_base'; import { ExtractorResult } from '../types/extractors'; export declare class HackerNewsExtractor extends BaseExtractor { private mainPost; private isCommentPage; private isListingPage; private mainComment; constructor(document: Document, url: string, schemaOrgData?: any, options?: ExtractorOptions); private detectListingPage; private detectCommentPage; private findMainComment; canExtract(): boolean; extract(): ExtractorResult; private getMoreLink; private extractListing; private extractStories; private buildListingHtml; private createContentHtml; private getPostContent; private extractComments; private processComments; private getPostId; private getPostTitle; private getPostAuthor; private createDescription; private getPostDate; }