import { HttpOperation } from "../types/common"; import { DeployType, UploadConstraints } from "../types/mini-app"; interface RequestUploadPayload { name: string; desc: string; config: string; versionStatus: DeployType; frameworkVersions: string; } interface RequestUploadResponse { nextVersion: number; identifier: string; uploadConstraints: UploadConstraints; } /** * Before uploading an app, you need to request an upload. * This will return an identifier and the next version number. DevTools can use the next version number to config paths for resources. * @param {HttpOperation} payload The payload for the request upload operation. Requester MUST be authenticated, so the request should include a valid `Authorization: Bearer ` header with a valid token. * @returns {Promise} The response containing the next version number and identifier. */ export declare function requestUpload({ request, ...data }: HttpOperation): Promise; export { RequestUploadPayload, RequestUploadResponse, UploadConstraints, DeployType };