import { LocalizedItems, LocalizedItemsTable } from './const'; import { Creator, CSFDConfig, CSFDItemProps, CSFDItemTrailer, CSFDType, Locale, Premieres, PremiereType } from './types'; import { Fetch } from '@media-info/fetch'; import { CheerioAPI } from "cheerio"; export declare class CSFDItem { private config; body: string; _$?: CheerioAPI; locale: Locale; children: CSFDItem[]; fetcher: Fetch; private _areChildrenLoaded; id: number; get $(): CheerioAPI; set $(v: CheerioAPI); get areChildrenLoaded(): boolean; constructor(id: string | number, locale: Locale, config?: CSFDConfig, fetcher?: Fetch); _fetch(url: string): Promise; _load(): Promise; fetchChildren(): Promise; _fetchAllChildrenData(): Promise; crypt(a: string): string; _getPeople(creator: Creator): string[]; _translatedItems(itemsMap: LocalizedItemsTable, locale?: Locale): LocalizedItems; _localizedItem(item: string, itemsMap: LocalizedItemsTable, locale?: Locale): string; _createDate(date: string): Date; _getCountryCode(country: string, locale?: Locale): string | undefined; localizedGenre(genre: string, locale?: Locale): string; localizedCountry(country: string, locale?: Locale): string; get cast(): string[]; get director(): string[]; get music(): string[]; get writer(): string[]; get camera(): string[]; get author(): string[]; get genre(): string[]; get rating(): number | undefined; get _mainTitle(): string; get mainTitle(): string; get titles(): { language: string | undefined; country: string; title: string; }[]; get trailer(): Promise; get imdb(): string | undefined; get mediaType(): CSFDType; get votes(): number | undefined; get plot(): string | undefined; get origin(): string[] | undefined; get year(): number; get duration(): number | undefined; get poster(): string | undefined; _getPremiereType(text: string): PremiereType | undefined; get premieres(): Premieres; get certification(): string | undefined; get parent(): number | undefined; private _getChildrenIds; get childrenIds(): Promise; get nextPage(): string | undefined; get season(): number | undefined; get episode(): number | undefined; fetch(children?: boolean): Promise; } //# sourceMappingURL=CSFDItem.d.ts.map