import * as Snoowrap from '../snoowrap'; export default class Listing extends Array { constructor(options: any, _r: Snoowrap); isFinished: boolean; is_finished: boolean; fetchMore(options: FetchMoreOptions): Listing; fetchAll(options?: FetchMoreOptions): Listing; /* @deprecated */ fetchUntil(options?: FetchMoreOptions): Listing; toJSON(): T[]; } export interface ListingOptions { limit?: number; after?: string; before?: string; show?: string; count?: number; } export interface SortedListingOptions extends ListingOptions { time?: 'all' | 'hour' | 'day' | 'week' | 'month' | 'year'; } interface FetchMoreOptions { amount: number; skipReplies?: boolean; skip_replies?: boolean; append?: boolean; }