import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; export declare const S3ParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"getUploadUrl">; bucketName: z.ZodString; fileName: z.ZodString; region: z.ZodOptional; expirationMinutes: z.ZodDefault>; contentType: z.ZodOptional; userId: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "getUploadUrl"; bucketName: string; fileName: string; expirationMinutes: number; credentials?: Partial> | undefined; contentType?: string | undefined; region?: string | undefined; userId?: string | undefined; }, { operation: "getUploadUrl"; bucketName: string; fileName: string; credentials?: Partial> | undefined; contentType?: string | undefined; region?: string | undefined; expirationMinutes?: number | undefined; userId?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"getFile">; bucketName: z.ZodString; fileName: z.ZodString; region: z.ZodOptional; expirationMinutes: z.ZodDefault>; userId: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "getFile"; bucketName: string; fileName: string; expirationMinutes: number; credentials?: Partial> | undefined; region?: string | undefined; userId?: string | undefined; }, { operation: "getFile"; bucketName: string; fileName: string; credentials?: Partial> | undefined; region?: string | undefined; expirationMinutes?: number | undefined; userId?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"deleteFile">; bucketName: z.ZodString; fileName: z.ZodString; region: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "deleteFile"; bucketName: string; fileName: string; credentials?: Partial> | undefined; region?: string | undefined; }, { operation: "deleteFile"; bucketName: string; fileName: string; credentials?: Partial> | undefined; region?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"updateFile">; bucketName: z.ZodDefault; fileName: z.ZodString; region: z.ZodOptional; expirationMinutes: z.ZodDefault>; contentType: z.ZodOptional; fileContent: z.ZodString; userId: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "updateFile"; bucketName: string; fileName: string; expirationMinutes: number; fileContent: string; credentials?: Partial> | undefined; contentType?: string | undefined; region?: string | undefined; userId?: string | undefined; }, { operation: "updateFile"; fileName: string; fileContent: string; credentials?: Partial> | undefined; contentType?: string | undefined; region?: string | undefined; bucketName?: string | undefined; expirationMinutes?: number | undefined; userId?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"getMultipleUploadUrls">; bucketName: z.ZodString; pdfFileName: z.ZodString; pageCount: z.ZodNumber; region: z.ZodOptional; expirationMinutes: z.ZodDefault>; userId: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "getMultipleUploadUrls"; bucketName: string; expirationMinutes: number; pdfFileName: string; pageCount: number; credentials?: Partial> | undefined; region?: string | undefined; userId?: string | undefined; }, { operation: "getMultipleUploadUrls"; bucketName: string; pdfFileName: string; pageCount: number; credentials?: Partial> | undefined; region?: string | undefined; expirationMinutes?: number | undefined; userId?: string | undefined; }>]>; export declare const S3ResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"getUploadUrl">; success: z.ZodBoolean; uploadUrl: z.ZodOptional; fileName: z.ZodOptional; contentType: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "getUploadUrl"; contentType?: string | undefined; fileName?: string | undefined; uploadUrl?: string | undefined; }, { error: string; success: boolean; operation: "getUploadUrl"; contentType?: string | undefined; fileName?: string | undefined; uploadUrl?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"getFile">; success: z.ZodBoolean; downloadUrl: z.ZodOptional; fileUrl: z.ZodOptional; fileName: z.ZodOptional; fileSize: z.ZodOptional; contentType: z.ZodOptional; lastModified: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "getFile"; contentType?: string | undefined; fileName?: string | undefined; downloadUrl?: string | undefined; fileUrl?: string | undefined; fileSize?: number | undefined; lastModified?: string | undefined; }, { error: string; success: boolean; operation: "getFile"; contentType?: string | undefined; fileName?: string | undefined; downloadUrl?: string | undefined; fileUrl?: string | undefined; fileSize?: number | undefined; lastModified?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"deleteFile">; success: z.ZodBoolean; fileName: z.ZodOptional; deleted: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "deleteFile"; deleted?: boolean | undefined; fileName?: string | undefined; }, { error: string; success: boolean; operation: "deleteFile"; deleted?: boolean | undefined; fileName?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"updateFile">; success: z.ZodBoolean; fileName: z.ZodOptional; fileUrl: z.ZodOptional; updated: z.ZodOptional; contentType: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "updateFile"; updated?: boolean | undefined; contentType?: string | undefined; fileName?: string | undefined; fileUrl?: string | undefined; }, { error: string; success: boolean; operation: "updateFile"; updated?: boolean | undefined; contentType?: string | undefined; fileName?: string | undefined; fileUrl?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"getMultipleUploadUrls">; success: z.ZodBoolean; pdfUploadUrl: z.ZodOptional; pdfFileName: z.ZodOptional; pageUploadUrls: z.ZodOptional, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "getMultipleUploadUrls"; pdfFileName?: string | undefined; pdfUploadUrl?: string | undefined; pageUploadUrls?: { fileName: string; uploadUrl: string; pageNumber: number; }[] | undefined; }, { error: string; success: boolean; operation: "getMultipleUploadUrls"; pdfFileName?: string | undefined; pdfUploadUrl?: string | undefined; pageUploadUrls?: { fileName: string; uploadUrl: string; pageNumber: number; }[] | undefined; }>]>; export type S3Result = z.output; export type S3Params = z.output; export type S3ParamsInput = z.input; export type S3OperationResult = Extract; //# sourceMappingURL=s3.schema.d.ts.map