/// import { Repository } from '../core/repository'; import { PostingAlbumOptions, PostingPhotoOptions, PostingStoryPhotoOptions, PostingStoryVideoOptions, PostingVideoOptions } from '../types'; import { PostingIgtvOptions } from '../types/posting.igtv.options'; import Bluebird = require('bluebird'); export declare class PublishService extends Repository { private static publishDebug; private chance; static catchTranscodeError(videoInfo: any, transcodeDelayInMs: number): (error: any) => Bluebird; static getVideoInfo(buffer: Buffer): { duration: number; width: number; height: number; }; static getMP4Duration(buffer: Buffer): number; private static makeLocationOptions; private static read32; private static read16; photo(options: PostingPhotoOptions): Promise; video(options: PostingVideoOptions): Promise; album(options: PostingAlbumOptions): Promise; story(options: PostingStoryPhotoOptions | PostingStoryVideoOptions): Promise; igtvVideo(options: PostingIgtvOptions): Promise; private regularVideo; private segmentedVideo; private uploadAndConfigureStoryPhoto; private uploadAndConfigureStoryVideo; }