import { z } from 'zod';
import { CredentialType } from '@bubblelab/shared-schemas';
export declare const DocuSignParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"create_envelope">;
    email_subject: z.ZodString;
    documents: z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        file_extension: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        document_base64: z.ZodString;
        document_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        document_id: string;
        file_extension: string;
        document_base64: string;
    }, {
        name: string;
        document_base64: string;
        document_id?: string | undefined;
        file_extension?: string | undefined;
    }>, "many">;
    signers: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodString;
        recipient_id: z.ZodOptional<z.ZodString>;
        routing_order: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        tabs: z.ZodOptional<z.ZodObject<{
            sign_here: z.ZodOptional<z.ZodArray<z.ZodObject<{
                document_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
                page_number: z.ZodDefault<z.ZodOptional<z.ZodString>>;
                x_position: z.ZodDefault<z.ZodOptional<z.ZodString>>;
                y_position: z.ZodDefault<z.ZodOptional<z.ZodString>>;
            }, "strip", z.ZodTypeAny, {
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
            }, {
                document_id?: string | undefined;
                page_number?: string | undefined;
                x_position?: string | undefined;
                y_position?: string | undefined;
            }>, "many">>;
            date_signed: z.ZodOptional<z.ZodArray<z.ZodObject<{
                document_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
                page_number: z.ZodDefault<z.ZodOptional<z.ZodString>>;
                x_position: z.ZodDefault<z.ZodOptional<z.ZodString>>;
                y_position: z.ZodDefault<z.ZodOptional<z.ZodString>>;
            }, "strip", z.ZodTypeAny, {
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
            }, {
                document_id?: string | undefined;
                page_number?: string | undefined;
                x_position?: string | undefined;
                y_position?: string | undefined;
            }>, "many">>;
            text: z.ZodOptional<z.ZodArray<z.ZodObject<{
                document_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
                page_number: z.ZodDefault<z.ZodOptional<z.ZodString>>;
                x_position: z.ZodString;
                y_position: z.ZodString;
                tab_label: z.ZodString;
                value: z.ZodOptional<z.ZodString>;
                required: z.ZodDefault<z.ZodOptional<z.ZodString>>;
            }, "strip", z.ZodTypeAny, {
                required: string;
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
                tab_label: string;
                value?: string | undefined;
            }, {
                x_position: string;
                y_position: string;
                tab_label: string;
                value?: string | undefined;
                required?: string | undefined;
                document_id?: string | undefined;
                page_number?: string | undefined;
            }>, "many">>;
        }, "strip", z.ZodTypeAny, {
            text?: {
                required: string;
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
                tab_label: string;
                value?: string | undefined;
            }[] | undefined;
            sign_here?: {
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
            }[] | undefined;
            date_signed?: {
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
            }[] | undefined;
        }, {
            text?: {
                x_position: string;
                y_position: string;
                tab_label: string;
                value?: string | undefined;
                required?: string | undefined;
                document_id?: string | undefined;
                page_number?: string | undefined;
            }[] | undefined;
            sign_here?: {
                document_id?: string | undefined;
                page_number?: string | undefined;
                x_position?: string | undefined;
                y_position?: string | undefined;
            }[] | undefined;
            date_signed?: {
                document_id?: string | undefined;
                page_number?: string | undefined;
                x_position?: string | undefined;
                y_position?: string | undefined;
            }[] | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        email: string;
        routing_order: string;
        tabs?: {
            text?: {
                required: string;
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
                tab_label: string;
                value?: string | undefined;
            }[] | undefined;
            sign_here?: {
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
            }[] | undefined;
            date_signed?: {
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
            }[] | undefined;
        } | undefined;
        recipient_id?: string | undefined;
    }, {
        name: string;
        email: string;
        tabs?: {
            text?: {
                x_position: string;
                y_position: string;
                tab_label: string;
                value?: string | undefined;
                required?: string | undefined;
                document_id?: string | undefined;
                page_number?: string | undefined;
            }[] | undefined;
            sign_here?: {
                document_id?: string | undefined;
                page_number?: string | undefined;
                x_position?: string | undefined;
                y_position?: string | undefined;
            }[] | undefined;
            date_signed?: {
                document_id?: string | undefined;
                page_number?: string | undefined;
                x_position?: string | undefined;
                y_position?: string | undefined;
            }[] | undefined;
        } | undefined;
        recipient_id?: string | undefined;
        routing_order?: string | undefined;
    }>, "many">;
    cc_recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodString;
        recipient_id: z.ZodOptional<z.ZodString>;
        routing_order: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        email: string;
        routing_order: string;
        recipient_id?: string | undefined;
    }, {
        name: string;
        email: string;
        recipient_id?: string | undefined;
        routing_order?: string | undefined;
    }>, "many">>;
    email_body: z.ZodOptional<z.ZodString>;
    status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["sent", "created"]>>>;
    reminder_enabled: z.ZodOptional<z.ZodBoolean>;
    reminder_delay: z.ZodOptional<z.ZodString>;
    reminder_frequency: z.ZodOptional<z.ZodString>;
    expire_enabled: z.ZodOptional<z.ZodBoolean>;
    expire_after: z.ZodOptional<z.ZodString>;
    expire_warn: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    status: "created" | "sent";
    operation: "create_envelope";
    email_subject: string;
    documents: {
        name: string;
        document_id: string;
        file_extension: string;
        document_base64: string;
    }[];
    signers: {
        name: string;
        email: string;
        routing_order: string;
        tabs?: {
            text?: {
                required: string;
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
                tab_label: string;
                value?: string | undefined;
            }[] | undefined;
            sign_here?: {
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
            }[] | undefined;
            date_signed?: {
                document_id: string;
                page_number: string;
                x_position: string;
                y_position: string;
            }[] | undefined;
        } | undefined;
        recipient_id?: string | undefined;
    }[];
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    cc_recipients?: {
        name: string;
        email: string;
        routing_order: string;
        recipient_id?: string | undefined;
    }[] | undefined;
    email_body?: string | undefined;
    reminder_enabled?: boolean | undefined;
    reminder_delay?: string | undefined;
    reminder_frequency?: string | undefined;
    expire_enabled?: boolean | undefined;
    expire_after?: string | undefined;
    expire_warn?: string | undefined;
}, {
    operation: "create_envelope";
    email_subject: string;
    documents: {
        name: string;
        document_base64: string;
        document_id?: string | undefined;
        file_extension?: string | undefined;
    }[];
    signers: {
        name: string;
        email: string;
        tabs?: {
            text?: {
                x_position: string;
                y_position: string;
                tab_label: string;
                value?: string | undefined;
                required?: string | undefined;
                document_id?: string | undefined;
                page_number?: string | undefined;
            }[] | undefined;
            sign_here?: {
                document_id?: string | undefined;
                page_number?: string | undefined;
                x_position?: string | undefined;
                y_position?: string | undefined;
            }[] | undefined;
            date_signed?: {
                document_id?: string | undefined;
                page_number?: string | undefined;
                x_position?: string | undefined;
                y_position?: string | undefined;
            }[] | undefined;
        } | undefined;
        recipient_id?: string | undefined;
        routing_order?: string | undefined;
    }[];
    status?: "created" | "sent" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    cc_recipients?: {
        name: string;
        email: string;
        recipient_id?: string | undefined;
        routing_order?: string | undefined;
    }[] | undefined;
    email_body?: string | undefined;
    reminder_enabled?: boolean | undefined;
    reminder_delay?: string | undefined;
    reminder_frequency?: string | undefined;
    expire_enabled?: boolean | undefined;
    expire_after?: string | undefined;
    expire_warn?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_envelope_from_template">;
    template_id: z.ZodString;
    email_subject: z.ZodOptional<z.ZodString>;
    email_body: z.ZodOptional<z.ZodString>;
    signers: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodString;
        role_name: z.ZodString;
        recipient_id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        email: string;
        role_name: string;
        recipient_id?: string | undefined;
    }, {
        name: string;
        email: string;
        role_name: string;
        recipient_id?: string | undefined;
    }>, "many">;
    cc_recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodString;
        role_name: z.ZodString;
        recipient_id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        email: string;
        role_name: string;
        recipient_id?: string | undefined;
    }, {
        name: string;
        email: string;
        role_name: string;
        recipient_id?: string | undefined;
    }>, "many">>;
    status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["sent", "created"]>>>;
    template_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    reminder_enabled: z.ZodOptional<z.ZodBoolean>;
    reminder_delay: z.ZodOptional<z.ZodString>;
    reminder_frequency: z.ZodOptional<z.ZodString>;
    expire_enabled: z.ZodOptional<z.ZodBoolean>;
    expire_after: z.ZodOptional<z.ZodString>;
    expire_warn: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    status: "created" | "sent";
    operation: "create_envelope_from_template";
    signers: {
        name: string;
        email: string;
        role_name: string;
        recipient_id?: string | undefined;
    }[];
    template_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    email_subject?: string | undefined;
    cc_recipients?: {
        name: string;
        email: string;
        role_name: string;
        recipient_id?: string | undefined;
    }[] | undefined;
    email_body?: string | undefined;
    reminder_enabled?: boolean | undefined;
    reminder_delay?: string | undefined;
    reminder_frequency?: string | undefined;
    expire_enabled?: boolean | undefined;
    expire_after?: string | undefined;
    expire_warn?: string | undefined;
    template_data?: Record<string, string> | undefined;
}, {
    operation: "create_envelope_from_template";
    signers: {
        name: string;
        email: string;
        role_name: string;
        recipient_id?: string | undefined;
    }[];
    template_id: string;
    status?: "created" | "sent" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    email_subject?: string | undefined;
    cc_recipients?: {
        name: string;
        email: string;
        role_name: string;
        recipient_id?: string | undefined;
    }[] | undefined;
    email_body?: string | undefined;
    reminder_enabled?: boolean | undefined;
    reminder_delay?: string | undefined;
    reminder_frequency?: string | undefined;
    expire_enabled?: boolean | undefined;
    expire_after?: string | undefined;
    expire_warn?: string | undefined;
    template_data?: Record<string, string> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_envelope">;
    envelope_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_envelope";
    envelope_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_envelope";
    envelope_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_envelopes">;
    from_date: z.ZodOptional<z.ZodString>;
    to_date: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodString>;
    search_text: z.ZodOptional<z.ZodString>;
    count: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start_position: z.ZodOptional<z.ZodString>;
    order_by: z.ZodOptional<z.ZodString>;
    order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_envelopes";
    count: string;
    order: "asc" | "desc";
    status?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    order_by?: string | undefined;
    from_date?: string | undefined;
    to_date?: string | undefined;
    search_text?: string | undefined;
    start_position?: string | undefined;
}, {
    operation: "list_envelopes";
    status?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    count?: string | undefined;
    order_by?: string | undefined;
    from_date?: string | undefined;
    to_date?: string | undefined;
    search_text?: string | undefined;
    start_position?: string | undefined;
    order?: "asc" | "desc" | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_recipients">;
    envelope_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_recipients";
    envelope_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_recipients";
    envelope_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_templates">;
    search_text: z.ZodOptional<z.ZodString>;
    count: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_templates";
    count: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    search_text?: string | undefined;
}, {
    operation: "list_templates";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    count?: string | undefined;
    search_text?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_template">;
    template_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_template";
    template_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_template";
    template_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"download_document">;
    envelope_id: z.ZodString;
    document_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "download_document";
    document_id: string;
    envelope_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "download_document";
    envelope_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    document_id?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"void_envelope">;
    envelope_id: z.ZodString;
    void_reason: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "void_envelope";
    envelope_id: string;
    void_reason: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "void_envelope";
    envelope_id: string;
    void_reason: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"resend_envelope">;
    envelope_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "resend_envelope";
    envelope_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "resend_envelope";
    envelope_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"bulk_send_from_template">;
    template_id: z.ZodString;
    recipients: z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodString;
        role_name: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        email: string;
        role_name: string;
    }, {
        name: string;
        email: string;
        role_name: string;
    }>, "many">;
    email_subject: z.ZodOptional<z.ZodString>;
    email_body: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "bulk_send_from_template";
    template_id: string;
    recipients: {
        name: string;
        email: string;
        role_name: string;
    }[];
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    email_subject?: string | undefined;
    email_body?: string | undefined;
}, {
    operation: "bulk_send_from_template";
    template_id: string;
    recipients: {
        name: string;
        email: string;
        role_name: string;
    }[];
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    email_subject?: string | undefined;
    email_body?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_signing_url">;
    envelope_id: z.ZodString;
    signer_email: z.ZodString;
    signer_name: z.ZodString;
    return_url: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_signing_url";
    envelope_id: string;
    signer_email: string;
    signer_name: string;
    return_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_signing_url";
    envelope_id: string;
    signer_email: string;
    signer_name: string;
    return_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"correct_recipient">;
    envelope_id: z.ZodString;
    old_email: z.ZodString;
    new_email: z.ZodString;
    new_name: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "correct_recipient";
    envelope_id: string;
    old_email: string;
    new_email: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    new_name?: string | undefined;
}, {
    operation: "correct_recipient";
    envelope_id: string;
    old_email: string;
    new_email: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    new_name?: string | undefined;
}>]>;
export declare const DocuSignResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"create_envelope">;
    success: z.ZodBoolean;
    envelope_id: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodString>;
    status_date_time: z.ZodOptional<z.ZodString>;
    uri: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_envelope";
    status?: string | undefined;
    envelope_id?: string | undefined;
    status_date_time?: string | undefined;
    uri?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_envelope";
    status?: string | undefined;
    envelope_id?: string | undefined;
    status_date_time?: string | undefined;
    uri?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_envelope_from_template">;
    success: z.ZodBoolean;
    envelope_id: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodString>;
    status_date_time: z.ZodOptional<z.ZodString>;
    uri: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_envelope_from_template";
    status?: string | undefined;
    envelope_id?: string | undefined;
    status_date_time?: string | undefined;
    uri?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_envelope_from_template";
    status?: string | undefined;
    envelope_id?: string | undefined;
    status_date_time?: string | undefined;
    uri?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_envelope">;
    success: z.ZodBoolean;
    envelope_id: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodString>;
    email_subject: z.ZodOptional<z.ZodString>;
    sent_date_time: z.ZodOptional<z.ZodString>;
    completed_date_time: z.ZodOptional<z.ZodString>;
    declined_date_time: z.ZodOptional<z.ZodString>;
    voided_date_time: z.ZodOptional<z.ZodString>;
    status_changed_date_time: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_envelope";
    status?: string | undefined;
    email_subject?: string | undefined;
    envelope_id?: string | undefined;
    sent_date_time?: string | undefined;
    completed_date_time?: string | undefined;
    declined_date_time?: string | undefined;
    voided_date_time?: string | undefined;
    status_changed_date_time?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_envelope";
    status?: string | undefined;
    email_subject?: string | undefined;
    envelope_id?: string | undefined;
    sent_date_time?: string | undefined;
    completed_date_time?: string | undefined;
    declined_date_time?: string | undefined;
    voided_date_time?: string | undefined;
    status_changed_date_time?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_envelopes">;
    success: z.ZodBoolean;
    envelopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
        envelope_id: z.ZodString;
        status: z.ZodString;
        email_subject: z.ZodOptional<z.ZodString>;
        sent_date_time: z.ZodOptional<z.ZodString>;
        completed_date_time: z.ZodOptional<z.ZodString>;
        status_changed_date_time: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        status: string;
        envelope_id: string;
        email_subject?: string | undefined;
        sent_date_time?: string | undefined;
        completed_date_time?: string | undefined;
        status_changed_date_time?: string | undefined;
    }, {
        status: string;
        envelope_id: string;
        email_subject?: string | undefined;
        sent_date_time?: string | undefined;
        completed_date_time?: string | undefined;
        status_changed_date_time?: string | undefined;
    }>, "many">>;
    result_set_size: z.ZodOptional<z.ZodString>;
    total_set_size: z.ZodOptional<z.ZodString>;
    next_uri: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_envelopes";
    envelopes?: {
        status: string;
        envelope_id: string;
        email_subject?: string | undefined;
        sent_date_time?: string | undefined;
        completed_date_time?: string | undefined;
        status_changed_date_time?: string | undefined;
    }[] | undefined;
    result_set_size?: string | undefined;
    total_set_size?: string | undefined;
    next_uri?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_envelopes";
    envelopes?: {
        status: string;
        envelope_id: string;
        email_subject?: string | undefined;
        sent_date_time?: string | undefined;
        completed_date_time?: string | undefined;
        status_changed_date_time?: string | undefined;
    }[] | undefined;
    result_set_size?: string | undefined;
    total_set_size?: string | undefined;
    next_uri?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_recipients">;
    success: z.ZodBoolean;
    signers: z.ZodOptional<z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodString;
        status: z.ZodString;
        signed_date_time: z.ZodOptional<z.ZodString>;
        delivered_date_time: z.ZodOptional<z.ZodString>;
        declined_date_time: z.ZodOptional<z.ZodString>;
        decline_reason: z.ZodOptional<z.ZodString>;
        recipient_id: z.ZodOptional<z.ZodString>;
        routing_order: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        status: string;
        name: string;
        email: string;
        recipient_id?: string | undefined;
        routing_order?: string | undefined;
        declined_date_time?: string | undefined;
        signed_date_time?: string | undefined;
        delivered_date_time?: string | undefined;
        decline_reason?: string | undefined;
    }, {
        status: string;
        name: string;
        email: string;
        recipient_id?: string | undefined;
        routing_order?: string | undefined;
        declined_date_time?: string | undefined;
        signed_date_time?: string | undefined;
        delivered_date_time?: string | undefined;
        decline_reason?: string | undefined;
    }>, "many">>;
    cc_recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
        email: z.ZodString;
        name: z.ZodString;
        status: z.ZodString;
        recipient_id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        status: string;
        name: string;
        email: string;
        recipient_id?: string | undefined;
    }, {
        status: string;
        name: string;
        email: string;
        recipient_id?: string | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_recipients";
    signers?: {
        status: string;
        name: string;
        email: string;
        recipient_id?: string | undefined;
        routing_order?: string | undefined;
        declined_date_time?: string | undefined;
        signed_date_time?: string | undefined;
        delivered_date_time?: string | undefined;
        decline_reason?: string | undefined;
    }[] | undefined;
    cc_recipients?: {
        status: string;
        name: string;
        email: string;
        recipient_id?: string | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_recipients";
    signers?: {
        status: string;
        name: string;
        email: string;
        recipient_id?: string | undefined;
        routing_order?: string | undefined;
        declined_date_time?: string | undefined;
        signed_date_time?: string | undefined;
        delivered_date_time?: string | undefined;
        decline_reason?: string | undefined;
    }[] | undefined;
    cc_recipients?: {
        status: string;
        name: string;
        email: string;
        recipient_id?: string | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_templates">;
    success: z.ZodBoolean;
    templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
        template_id: z.ZodString;
        name: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        created: z.ZodOptional<z.ZodString>;
        last_modified: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        template_id: string;
        description?: string | undefined;
        created?: string | undefined;
        last_modified?: string | undefined;
    }, {
        name: string;
        template_id: string;
        description?: string | undefined;
        created?: string | undefined;
        last_modified?: string | undefined;
    }>, "many">>;
    result_set_size: z.ZodOptional<z.ZodString>;
    total_set_size: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_templates";
    result_set_size?: string | undefined;
    total_set_size?: string | undefined;
    templates?: {
        name: string;
        template_id: string;
        description?: string | undefined;
        created?: string | undefined;
        last_modified?: string | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_templates";
    result_set_size?: string | undefined;
    total_set_size?: string | undefined;
    templates?: {
        name: string;
        template_id: string;
        description?: string | undefined;
        created?: string | undefined;
        last_modified?: string | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_template">;
    success: z.ZodBoolean;
    template_id: z.ZodOptional<z.ZodString>;
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
        role_name: z.ZodString;
        role_id: z.ZodOptional<z.ZodString>;
        signing_order: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        role_name: string;
        role_id?: string | undefined;
        signing_order?: string | undefined;
    }, {
        role_name: string;
        role_id?: string | undefined;
        signing_order?: string | undefined;
    }>, "many">>;
    fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
        tab_label: z.ZodString;
        tab_type: z.ZodString;
        role_name: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        tab_label: string;
        tab_type: string;
        role_name?: string | undefined;
    }, {
        tab_label: string;
        tab_type: string;
        role_name?: string | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_template";
    description?: string | undefined;
    name?: string | undefined;
    fields?: {
        tab_label: string;
        tab_type: string;
        role_name?: string | undefined;
    }[] | undefined;
    template_id?: string | undefined;
    roles?: {
        role_name: string;
        role_id?: string | undefined;
        signing_order?: string | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_template";
    description?: string | undefined;
    name?: string | undefined;
    fields?: {
        tab_label: string;
        tab_type: string;
        role_name?: string | undefined;
    }[] | undefined;
    template_id?: string | undefined;
    roles?: {
        role_name: string;
        role_id?: string | undefined;
        signing_order?: string | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"download_document">;
    success: z.ZodBoolean;
    document_base64: z.ZodOptional<z.ZodString>;
    document_name: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "download_document";
    document_base64?: string | undefined;
    document_name?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "download_document";
    document_base64?: string | undefined;
    document_name?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"void_envelope">;
    success: z.ZodBoolean;
    envelope_id: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "void_envelope";
    envelope_id?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "void_envelope";
    envelope_id?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"resend_envelope">;
    success: z.ZodBoolean;
    envelope_id: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "resend_envelope";
    envelope_id?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "resend_envelope";
    envelope_id?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"bulk_send_from_template">;
    success: z.ZodBoolean;
    results: z.ZodOptional<z.ZodArray<z.ZodObject<{
        envelope_id: z.ZodOptional<z.ZodString>;
        status: z.ZodOptional<z.ZodString>;
        recipient_email: z.ZodString;
        error: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        recipient_email: string;
        status?: string | undefined;
        error?: string | undefined;
        envelope_id?: string | undefined;
    }, {
        recipient_email: string;
        status?: string | undefined;
        error?: string | undefined;
        envelope_id?: string | undefined;
    }>, "many">>;
    total_sent: z.ZodOptional<z.ZodNumber>;
    total_failed: z.ZodOptional<z.ZodNumber>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "bulk_send_from_template";
    results?: {
        recipient_email: string;
        status?: string | undefined;
        error?: string | undefined;
        envelope_id?: string | undefined;
    }[] | undefined;
    total_sent?: number | undefined;
    total_failed?: number | undefined;
}, {
    error: string;
    success: boolean;
    operation: "bulk_send_from_template";
    results?: {
        recipient_email: string;
        status?: string | undefined;
        error?: string | undefined;
        envelope_id?: string | undefined;
    }[] | undefined;
    total_sent?: number | undefined;
    total_failed?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_signing_url">;
    success: z.ZodBoolean;
    signing_url: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_signing_url";
    signing_url?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_signing_url";
    signing_url?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"correct_recipient">;
    success: z.ZodBoolean;
    envelope_id: z.ZodOptional<z.ZodString>;
    old_email: z.ZodOptional<z.ZodString>;
    new_email: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "correct_recipient";
    envelope_id?: string | undefined;
    old_email?: string | undefined;
    new_email?: string | undefined;
}, {
    error: string;
    success: boolean;
    operation: "correct_recipient";
    envelope_id?: string | undefined;
    old_email?: string | undefined;
    new_email?: string | undefined;
}>]>;
export type DocuSignResult = z.output<typeof DocuSignResultSchema>;
export type DocuSignParams = z.output<typeof DocuSignParamsSchema>;
export type DocuSignParamsInput = z.input<typeof DocuSignParamsSchema>;
//# sourceMappingURL=docusign.schema.d.ts.map