import { IChangePasswordArgs, INewTweet, INewTweetMedia, IPostArgs, IUploadArgs } from '../../types/args/PostArgs'; import { ProfileUpdateOptions } from './ProfileArgs'; /** * Options specifying the data that is to be posted. * * @public */ export declare class PostArgs implements IPostArgs { changePassword?: ChangePasswordArgs; conversationId?: string; id?: string; profileBanner?: string; profileImage?: string; profileOptions?: ProfileUpdateOptions; tweet?: NewTweet; upload?: UploadArgs; userId?: string; username?: string; /** * @param resource - The resource to be posted. * @param args - Additional user-defined arguments for posting the resource. */ constructor(args: IPostArgs); /** * Validates if a data value is a valid string. * * @param value - The data to validate. * @param fieldName - The field name whose value is to be validated. * * @returns The validated, parsed string. If data was `undefined`, returns `undefined`. */ private static _validateNonEmptyString; } /** * 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(args: IUploadArgs); } /** * The args for changing authenticated user's password. * * @public */ export declare class ChangePasswordArgs implements IChangePasswordArgs { currentPassword: string; newPassword: string; constructor(args: IChangePasswordArgs); }