import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; export declare class UploadSessions extends ClientSDK { /** * Start Upload Session * * @remarks * Start an Upload Session. Upload sessions are used to upload large files, use the [Upload File](#operation/filesUpload) endpoint to upload smaller files (up to 100MB). Note that the base URL is upload.apideck.com instead of unify.apideck.com. For more information on uploads, refer to the [file upload guide](/guides/file-upload). */ create(request: operations.FileStorageUploadSessionsAddRequest, options?: RequestOptions & { serverURL?: string; }): Promise; /** * Get Upload Session * * @remarks * Get Upload Session. Use the `part_size` to split your file into parts. Upload the parts to the [Upload part of File](#operation/uploadSessionsUpload) endpoint. Note that the base URL is upload.apideck.com instead of unify.apideck.com. For more information on uploads, refer to the [file upload guide](/guides/file-upload). */ get(request: operations.FileStorageUploadSessionsOneRequest, options?: RequestOptions & { serverURL?: string; }): Promise; /** * Abort Upload Session * * @remarks * Abort Upload Session. Note that the base URL is upload.apideck.com instead of unify.apideck.com. For more information on uploads, refer to the [file upload guide](/guides/file-upload). */ delete(request: operations.FileStorageUploadSessionsDeleteRequest, options?: RequestOptions): Promise; /** * Finish Upload Session * * @remarks * Finish Upload Session. Only call this endpoint after all File parts have been uploaded to [Upload part of File](#operation/uploadSessionsUpload). Note that the base URL is upload.apideck.com instead of unify.apideck.com. For more information on uploads, refer to the [file upload guide](/guides/file-upload). */ finish(request: operations.FileStorageUploadSessionsFinishRequest, options?: RequestOptions & { serverURL?: string; }): Promise; } //# sourceMappingURL=uploadsessions.d.ts.map