import { Globular } from "globular-web-client";
import { Video, Audio } from "globular-web-client/title/title_pb";
import { FileInfo } from "globular-web-client/file/file_pb";
export declare class TitleController {
    static setVideo(video: Video): void;
    static setTitle(title: any): void;
    static setAudio(audio: Audio): void;
    static getImdbInfo(id: string, callback: (title_id: string) => {}, errorcallback: (err: any) => void, globule?: Globular): void;
    static getTitleFiles(id: string, indexPath: string, globule: Globular, callback: (files: string[]) => void, errorCallback: (err: any) => void): void;
    /**
     * Retrieve the video information from the backend
     * @param globule The globule instance
     * @param id The video id
     * @param callback The success callback
     * @param errorCallback The error callback
     * @returns
     */
    static getVideoInfo(id: string, callback: (video?: Video) => void, errorCallback: (err: any) => void, globule?: Globular): void;
    /**
     * Retrieve the audio information from the backend
     * @param globule The globule instance
     * @param id The audio id
     * @param callback The success callback
     * @param errorCallback The error callback
     * @returns
     */
    static getAudioInfo(id: string, callback: (audio?: Audio) => void, errorCallback: (err: any) => void, globule?: Globular): void;
    static getFileTitlesInfo(file: FileInfo, callback: (titles?: any) => void, errorCallback: (err: any) => void, globule?: Globular): void;
    static getFileVideosInfo(file: FileInfo, callback: (titles?: any) => void, errorCallback: (err: any) => void, globule?: Globular): void;
    static getFileAudiosInfo(file: FileInfo, callback: (audios?: any) => void, errorCallback: (err: any) => void, globule?: Globular): void;
    static getTitleInfo(id: string, callback: (title?: any) => void, errorCallback: (err: any) => void, globule?: Globular): void;
    static getWacthingTitle(titleId: string, callback: (title: any) => void, errorCallback: (err: any) => void): void;
}
