import { EResourceType } from '../../enums/Resource'; import { INewTweet, INewTweetMedia, IPostArgs, IUploadArgs } from '../../types/args/PostArgs'; /** * Options specifying the data that is to be posted. * * @public */ export declare class PostArgs implements IPostArgs { id?: string; tweet?: NewTweet; upload?: UploadArgs; /** * @param resource - The resource to be posted. * @param args - Additional user-defined arguments for posting the resource. */ constructor(resource: EResourceType, args: IPostArgs); } /** * Configuration for the new tweet to be posted. * * @public */ export declare class NewTweet implements INewTweet { media?: NewTweetMedia[]; quote?: string; replyTo?: string; scheduleFor?: Date; text: string; /** * @param newTweet - The args specifying the new tweet to be posted. */ constructor(newTweet: INewTweet); } /** * Configuration for the media to be uploaded. * * @public */ export declare class NewTweetMedia implements INewTweetMedia { id: string; tags?: string[]; /** * @param newTweetMedia - The args specifying the new media to be posted along with the tweet. */ constructor(newTweetMedia: INewTweetMedia); } /** * Options specifying the media file to be uploaded. * * @public */ export declare class UploadArgs implements IUploadArgs { id?: string; media?: string | ArrayBuffer; size?: number; /** * @param step - The upload step. * @param args - The upload arguments for uploading the media file. */ constructor(step: EResourceType, args: IUploadArgs); }