export type S3Config = {
    bucket: string;
    region: string;
    accessKeyId: string;
    secretAccessKey: string;
    endpoint?: string;
    usePathStyle?: boolean;
};
export type GS3Cred = {
    accessKeyId: string;
    secretAccessKey: string;
    sessionToken: string | undefined;
};
export declare const S3Driver: Readonly<{
    put(config: S3Config, key: string, content: string | Buffer): Promise<string>;
    get(config: S3Config, key: string): Promise<Buffer>;
    exists(config: S3Config, key: string): Promise<boolean>;
    delete(config: S3Config, key: string): Promise<void>;
    url(config: S3Config, key: string): string;
    tempUrl(config: S3Config, key: string, options?: {
        expiresIn?: number;
        method?: "GET" | "PUT";
    }): string;
}>;
export default S3Driver;
//# sourceMappingURL=S3.d.ts.map