import { Config } from '@media-info/fetch'; import { AxiosRequestConfig } from 'axios'; import { ConfigRequestType, ConfigRetryType } from "@media-info/fetch"; export type Locale = 'cs' | 'en'; export declare enum Creator { DIRECTOR = "Re\u017Eie", WRITER = "Sc\u00E9n\u00E1\u0159", MUSIC = "Hudba", CAST = "Hraj\u00ED", CAMERA = "Kamera", AUTHOR = "Tv\u016Frci" } export declare enum CSFDType { TV_SHOW = "TV seri\u00E1l", TV_SHOW_2 = "seri\u00E1l", TV_SERIES = "TV po\u0159ad", SEASON = "s\u00E9rie", EPISODE = "epizoda", CONCERT = "koncert", FILM = "film", TV_FILM = "TV film" } export declare enum PremiereType { TV = "tv", BLU_RAY = "blu-ray", CINEMA = "cinema", DVD = "dvd", VOD = "vod" } export type Premieres = Record>>; export interface CSFDItemTitle { language?: string; title: string; } export interface CSFDItemTrailer { name: string; language: string | undefined; src: string; quality: number | undefined; subtitles: { src: string; language: string | undefined; }[]; } export type HttpConfig = AxiosRequestConfig; export type CSFDConfig = Omit & { http?: HttpConfig; chunkSize?: number; proxyUrl?: string; debug?: boolean; } & ConfigRequestType & ConfigRetryType; export interface CSFDItemProps { ids: { csfd: number; imdb?: string; }; parent_id?: number; children_ids: number[]; main_title: string; titles: CSFDItemTitle[]; year: number; duration?: number; mediaType: CSFDType; poster?: string; season?: number; episode?: number; plot?: string; rating?: number; votes?: number; origin?: string[]; premieres?: Premieres; genre: string[]; director: string[]; writer: string[]; cast: string[]; author: string[]; music: string[]; camera: string[]; trailers: CSFDItemTrailer[]; certification?: string; children?: CSFDItemProps[]; } export interface CSFDSearchResponseMediaItem { name: string; search_name: string; year: number; rating_icon_class: string; link: string; } export type CSFDSearchResponseMovieItem = CSFDSearchResponseMediaItem; export type CSFDSearchResponseShowItem = CSFDSearchResponseMediaItem; export interface CSFDSearchResponseUserItem { nick: string; fullname: string; link: string; } export interface CSFDSearchResponseCreatorItem { search_name: string; name: string; link: string; } export interface CSFDSearchResponse { users: CSFDSearchResponseUserItem[]; films: CSFDSearchResponseMovieItem[]; series: CSFDSearchResponseShowItem[]; creators: CSFDSearchResponseCreatorItem[]; } //# sourceMappingURL=types.d.ts.map