/*! * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ /** * Get the maximum number of parallel uploads based on the server configuration. */ export declare function getMaxParallelUploads(): number; /** * Checks if the server supports chunking for public shares. */ export declare function supportsPublicChunking(): boolean; /** * Get the maximum chunk size for chunked uploads based on the server configuration and file size. * * @param fileSize - The size of the file to be uploaded. If not provided, the function will return the default chunk size. */ export declare function getMaxChunksSize(fileSize?: number | undefined): number;