import type { AwsProvider, AwsRegion, RequestHandler } from '@remotion/lambda-client';
import type { LogLevel } from '@remotion/renderer';
import type { CustomCredentials } from '@remotion/serverless';
export type LambdaReadFileProgress = (progress: {
    totalSize: number;
    downloaded: number;
    percent: number;
}) => unknown;
export declare const lambdaDownloadFileWithProgress: ({ bucketName, key, region, expectedBucketOwner, outputPath, onProgress, customCredentials, logLevel, forcePathStyle, requestHandler, abortSignal, }: {
    bucketName: string;
    key: string;
    region: AwsRegion;
    expectedBucketOwner: string;
    outputPath: string;
    onProgress: LambdaReadFileProgress;
    customCredentials: CustomCredentials<AwsProvider> | null;
    logLevel: LogLevel;
    forcePathStyle: boolean;
    requestHandler: RequestHandler;
    abortSignal: AbortSignal;
}) => Promise<{
    sizeInBytes: number;
    to: string;
}>;
