import { z } from 'zod';
import { CredentialType } from '@bubblelab/shared-schemas';
export declare const SendSafelyPackageInfoSchema: z.ZodObject<{
    packageId: z.ZodString;
    packageCode: z.ZodOptional<z.ZodString>;
    serverSecret: z.ZodOptional<z.ZodString>;
    recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
        recipientId: z.ZodString;
        email: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        email: string;
        recipientId: string;
    }, {
        email: string;
        recipientId: string;
    }>, "many">>;
    files: z.ZodOptional<z.ZodArray<z.ZodObject<{
        fileId: z.ZodString;
        fileName: z.ZodString;
        fileSize: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        fileName: string;
        fileId: string;
        fileSize?: number | undefined;
    }, {
        fileName: string;
        fileId: string;
        fileSize?: number | undefined;
    }>, "many">>;
    state: z.ZodOptional<z.ZodString>;
    life: z.ZodOptional<z.ZodNumber>;
    secureLink: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    packageId: string;
    files?: {
        fileName: string;
        fileId: string;
        fileSize?: number | undefined;
    }[] | undefined;
    state?: string | undefined;
    recipients?: {
        email: string;
        recipientId: string;
    }[] | undefined;
    packageCode?: string | undefined;
    serverSecret?: string | undefined;
    life?: number | undefined;
    secureLink?: string | undefined;
}, {
    packageId: string;
    files?: {
        fileName: string;
        fileId: string;
        fileSize?: number | undefined;
    }[] | undefined;
    state?: string | undefined;
    recipients?: {
        email: string;
        recipientId: string;
    }[] | undefined;
    packageCode?: string | undefined;
    serverSecret?: string | undefined;
    life?: number | undefined;
    secureLink?: string | undefined;
}>;
export declare const SendSafelyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"send_file">;
    recipientEmail: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
    fileName: z.ZodString;
    fileData: z.ZodString;
    message: z.ZodOptional<z.ZodString>;
    lifeDays: z.ZodOptional<z.ZodNumber>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "send_file";
    fileName: string;
    recipientEmail: string | string[];
    fileData: string;
    message?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    lifeDays?: number | undefined;
}, {
    operation: "send_file";
    fileName: string;
    recipientEmail: string | string[];
    fileData: string;
    message?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    lifeDays?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"send_message">;
    recipientEmail: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
    message: z.ZodString;
    lifeDays: z.ZodOptional<z.ZodNumber>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    message: string;
    operation: "send_message";
    recipientEmail: string | string[];
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    lifeDays?: number | undefined;
}, {
    message: string;
    operation: "send_message";
    recipientEmail: string | string[];
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    lifeDays?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_package">;
    package_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_package";
    package_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_package";
    package_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>]>;
export declare const SendSafelyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"send_file">;
    success: z.ZodBoolean;
    packageId: z.ZodOptional<z.ZodString>;
    secureLink: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "send_file";
    packageId?: string | undefined;
    secureLink?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "send_file";
    packageId?: string | undefined;
    secureLink?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"send_message">;
    success: z.ZodBoolean;
    packageId: z.ZodOptional<z.ZodString>;
    secureLink: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "send_message";
    packageId?: string | undefined;
    secureLink?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "send_message";
    packageId?: string | undefined;
    secureLink?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_package">;
    success: z.ZodBoolean;
    package: z.ZodOptional<z.ZodObject<{
        packageId: z.ZodString;
        packageCode: z.ZodOptional<z.ZodString>;
        serverSecret: z.ZodOptional<z.ZodString>;
        recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
            recipientId: z.ZodString;
            email: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            email: string;
            recipientId: string;
        }, {
            email: string;
            recipientId: string;
        }>, "many">>;
        files: z.ZodOptional<z.ZodArray<z.ZodObject<{
            fileId: z.ZodString;
            fileName: z.ZodString;
            fileSize: z.ZodOptional<z.ZodNumber>;
        }, "strip", z.ZodTypeAny, {
            fileName: string;
            fileId: string;
            fileSize?: number | undefined;
        }, {
            fileName: string;
            fileId: string;
            fileSize?: number | undefined;
        }>, "many">>;
        state: z.ZodOptional<z.ZodString>;
        life: z.ZodOptional<z.ZodNumber>;
        secureLink: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        packageId: string;
        files?: {
            fileName: string;
            fileId: string;
            fileSize?: number | undefined;
        }[] | undefined;
        state?: string | undefined;
        recipients?: {
            email: string;
            recipientId: string;
        }[] | undefined;
        packageCode?: string | undefined;
        serverSecret?: string | undefined;
        life?: number | undefined;
        secureLink?: string | undefined;
    }, {
        packageId: string;
        files?: {
            fileName: string;
            fileId: string;
            fileSize?: number | undefined;
        }[] | undefined;
        state?: string | undefined;
        recipients?: {
            email: string;
            recipientId: string;
        }[] | undefined;
        packageCode?: string | undefined;
        serverSecret?: string | undefined;
        life?: number | undefined;
        secureLink?: string | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_package";
    package?: {
        packageId: string;
        files?: {
            fileName: string;
            fileId: string;
            fileSize?: number | undefined;
        }[] | undefined;
        state?: string | undefined;
        recipients?: {
            email: string;
            recipientId: string;
        }[] | undefined;
        packageCode?: string | undefined;
        serverSecret?: string | undefined;
        life?: number | undefined;
        secureLink?: string | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_package";
    package?: {
        packageId: string;
        files?: {
            fileName: string;
            fileId: string;
            fileSize?: number | undefined;
        }[] | undefined;
        state?: string | undefined;
        recipients?: {
            email: string;
            recipientId: string;
        }[] | undefined;
        packageCode?: string | undefined;
        serverSecret?: string | undefined;
        life?: number | undefined;
        secureLink?: string | undefined;
    } | undefined;
}>]>;
export type SendSafelyParamsInput = z.input<typeof SendSafelyParamsSchema>;
export type SendSafelyParams = z.output<typeof SendSafelyParamsSchema>;
export type SendSafelyResult = z.output<typeof SendSafelyResultSchema>;
//# sourceMappingURL=sendsafely.schema.d.ts.map