import { ITelegramClient } from '../../client.types.js';
import { FileDownloadLocation } from '../../types/index.js';
/**
 * Download a single chunk of a file, using [`precise`](https://core.telegram.org/api/files#downloading-files) download mode
 *
 * @param params  Download parameters
 */
export declare function downloadChunk(client: ITelegramClient, params: {
    /** File from which to download a chunk */
    location: FileDownloadLocation;
    /**
     * DC id from which the file will be downloaded.
     *
     * If provided DC is not the one storing the file,
     * redirection will be handled automatically.
     */
    dcId?: number;
    /** Offset of the chunk in bytes */
    offset: number;
    /**
     * Number of bytes to download (starting from the offset)
     *
     * Max 1MB (1048576)
     */
    limit: number;
    maxRetryCount?: number;
    floodSleepThreshold?: number;
    abortSignal?: AbortSignal;
}): Promise<Uint8Array>;
