import { S3Client } from "@aws-sdk/client-s3";
import { NextjsType } from "../../constants";
import type { FsToS3Action } from "../../nextjs-assets-deployment";
export declare const s3: S3Client;
interface FsToS3Props extends FsToS3Action {
    buildId: string;
    nextjsType?: NextjsType;
}
export declare function fsToS3(props: FsToS3Props): Promise<void>;
interface CreateS3KeyProps {
    keyPrefix?: string;
    path: string;
    basePath: string;
}
/**
 * Create S3 Key given local path
 */
export declare function createS3Key({ keyPrefix, path, basePath }: CreateS3KeyProps): string;
export {};
