/**
 * Generated by orval v8.19.0 🍺
 * Do not edit manually.
 * Webitel API
 * OpenAPI spec version: 24.04.0
 */
import * as zod from 'zod';
/**
 * @summary Search threads with filters
 */
export declare const ThreadManagementSearchQueryParams: zod.ZodObject<{
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    types: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
        UNKNOWN: "UNKNOWN";
        DIRECT: "DIRECT";
        GROUP: "GROUP";
        CHANNEL: "CHANNEL";
    }>>>;
    q: zod.ZodOptional<zod.ZodString>;
    size: zod.ZodOptional<zod.ZodNumber>;
    sort: zod.ZodOptional<zod.ZodString>;
    page: zod.ZodOptional<zod.ZodNumber>;
    contactIds: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
}, zod.z.core.$strip>;
export declare const threadManagementSearchResponseItemsItemLastMsgReactedMetadataReactedByRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementSearchResponseItemsItemLastMsgSenderRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementSearchResponseItemsItemMembersItemRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementSearchResponseItemsItemTypeDefault = "UNKNOWN";
export declare const ThreadManagementSearchResponse: zod.ZodObject<{
    items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        createdAt: zod.ZodOptional<zod.ZodString>;
        description: zod.ZodOptional<zod.ZodString>;
        id: zod.ZodOptional<zod.ZodString>;
        lastMsg: zod.ZodOptional<zod.ZodObject<{
            body: zod.ZodOptional<zod.ZodString>;
            contact: zod.ZodOptional<zod.ZodObject<{
                email: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                phone: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                createdAt: zod.ZodOptional<zod.ZodString>;
                fileId: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                messageId: zod.ZodOptional<zod.ZodString>;
                mime: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                size: zod.ZodOptional<zod.ZodString>;
                url: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
            editedAt: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                createdAt: zod.ZodOptional<zod.ZodString>;
                fileId: zod.ZodOptional<zod.ZodString>;
                height: zod.ZodOptional<zod.ZodNumber>;
                id: zod.ZodOptional<zod.ZodString>;
                messageId: zod.ZodOptional<zod.ZodString>;
                mime: zod.ZodOptional<zod.ZodString>;
                url: zod.ZodOptional<zod.ZodString>;
                width: zod.ZodOptional<zod.ZodNumber>;
            }, zod.z.core.$strip>>>;
            interactive: zod.ZodOptional<zod.ZodObject<{
                documents: zod.ZodOptional<zod.ZodObject<{
                    documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        fileName: zod.ZodOptional<zod.ZodString>;
                        id: zod.ZodOptional<zod.ZodString>;
                        mimeType: zod.ZodOptional<zod.ZodString>;
                        sizeBytes: zod.ZodOptional<zod.ZodString>;
                        url: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                images: zod.ZodOptional<zod.ZodObject<{
                    images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        id: zod.ZodOptional<zod.ZodString>;
                        link: zod.ZodOptional<zod.ZodString>;
                        mimeType: zod.ZodOptional<zod.ZodString>;
                        name: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                listReply: zod.ZodOptional<zod.ZodObject<{
                    mainButtonTitle: zod.ZodOptional<zod.ZodString>;
                    sections: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            callback: zod.ZodOptional<zod.ZodObject<{
                                data: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            id: zod.ZodOptional<zod.ZodString>;
                            label: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            request: zod.ZodOptional<zod.ZodObject<{
                                action: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            url: zod.ZodOptional<zod.ZodObject<{
                                url: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                        }, zod.z.core.$strip>>>;
                        section: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                markup: zod.ZodOptional<zod.ZodObject<{
                    rows: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            callback: zod.ZodOptional<zod.ZodObject<{
                                data: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            id: zod.ZodOptional<zod.ZodString>;
                            label: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            request: zod.ZodOptional<zod.ZodObject<{
                                action: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            url: zod.ZodOptional<zod.ZodObject<{
                                url: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                        }, zod.z.core.$strip>>>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                singleUse: zod.ZodOptional<zod.ZodBoolean>;
            }, zod.z.core.$strip>>;
            location: zod.ZodOptional<zod.ZodObject<{
                address: zod.ZodOptional<zod.ZodString>;
                latitude: zod.ZodOptional<zod.ZodNumber>;
                longitude: zod.ZodOptional<zod.ZodNumber>;
                name: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
            reactedMetadata: zod.ZodOptional<zod.ZodObject<{
                buttonCode: zod.ZodOptional<zod.ZodString>;
                callbackData: zod.ZodOptional<zod.ZodString>;
                inReplyTo: zod.ZodOptional<zod.ZodString>;
                reactedAt: zod.ZodOptional<zod.ZodString>;
                reactedBy: zod.ZodOptional<zod.ZodObject<{
                    contact: zod.ZodOptional<zod.ZodObject<{
                        appId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        isBot: zod.ZodOptional<zod.ZodBoolean>;
                        iss: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                        name: zod.ZodOptional<zod.ZodString>;
                        sub: zod.ZodOptional<zod.ZodString>;
                        type: zod.ZodOptional<zod.ZodString>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        username: zod.ZodOptional<zod.ZodString>;
                        vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            contactId: zod.ZodOptional<zod.ZodString>;
                            createdAt: zod.ZodOptional<zod.ZodString>;
                            disable: zod.ZodOptional<zod.ZodBoolean>;
                            disableReason: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            updatedAt: zod.ZodOptional<zod.ZodString>;
                            via: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>>;
                    }, zod.z.core.$strip>>;
                    id: zod.ZodOptional<zod.ZodString>;
                    permissions: zod.ZodOptional<zod.ZodObject<{
                        canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                        canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                        canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                        canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                        canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        id: zod.ZodOptional<zod.ZodString>;
                        memberId: zod.ZodOptional<zod.ZodString>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>;
                    role: zod.ZodDefault<zod.ZodEnum<{
                        ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                        ROLE_MEMBER: "ROLE_MEMBER";
                        ROLE_ADMIN: "ROLE_ADMIN";
                        ROLE_OWNER: "ROLE_OWNER";
                        ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
                    }>>;
                }, zod.z.core.$strip>>;
            }, zod.z.core.$strip>>;
            sender: zod.ZodOptional<zod.ZodObject<{
                contact: zod.ZodOptional<zod.ZodObject<{
                    appId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    isBot: zod.ZodOptional<zod.ZodBoolean>;
                    iss: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                    name: zod.ZodOptional<zod.ZodString>;
                    sub: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    username: zod.ZodOptional<zod.ZodString>;
                    vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        contactId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        disable: zod.ZodOptional<zod.ZodBoolean>;
                        disableReason: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        via: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                id: zod.ZodOptional<zod.ZodString>;
                permissions: zod.ZodOptional<zod.ZodObject<{
                    canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                    canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                    canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                    canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                    canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    id: zod.ZodOptional<zod.ZodString>;
                    memberId: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                role: zod.ZodDefault<zod.ZodEnum<{
                    ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                    ROLE_MEMBER: "ROLE_MEMBER";
                    ROLE_ADMIN: "ROLE_ADMIN";
                    ROLE_OWNER: "ROLE_OWNER";
                    ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
                }>>;
            }, zod.z.core.$strip>>;
            system: zod.ZodOptional<zod.ZodObject<{
                messageId: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            threadId: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodNumber>;
        }, zod.z.core.$strip>>;
        members: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
            contact: zod.ZodOptional<zod.ZodObject<{
                appId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                isBot: zod.ZodOptional<zod.ZodBoolean>;
                iss: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                name: zod.ZodOptional<zod.ZodString>;
                sub: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                username: zod.ZodOptional<zod.ZodString>;
                vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    contactId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    disable: zod.ZodOptional<zod.ZodBoolean>;
                    disableReason: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    via: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            id: zod.ZodOptional<zod.ZodString>;
            permissions: zod.ZodOptional<zod.ZodObject<{
                canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                memberId: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            role: zod.ZodDefault<zod.ZodEnum<{
                ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                ROLE_MEMBER: "ROLE_MEMBER";
                ROLE_ADMIN: "ROLE_ADMIN";
                ROLE_OWNER: "ROLE_OWNER";
                ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
            }>>;
        }, zod.z.core.$strip>>>;
        settings: zod.ZodOptional<zod.ZodObject<{
            createdAt: zod.ZodOptional<zod.ZodString>;
            domainId: zod.ZodOptional<zod.ZodNumber>;
            id: zod.ZodOptional<zod.ZodString>;
            title: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        subject: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodDefault<zod.ZodEnum<{
            UNKNOWN: "UNKNOWN";
            DIRECT: "DIRECT";
            GROUP: "GROUP";
            CHANNEL: "CHANNEL";
        }>>;
        updatedAt: zod.ZodOptional<zod.ZodString>;
        variables: zod.ZodOptional<zod.ZodObject<{
            threadId: zod.ZodOptional<zod.ZodString>;
            variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
                setAt: zod.ZodOptional<zod.ZodString>;
                setBy: zod.ZodOptional<zod.ZodObject<{
                    appId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    isBot: zod.ZodOptional<zod.ZodBoolean>;
                    iss: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                    name: zod.ZodOptional<zod.ZodString>;
                    sub: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    username: zod.ZodOptional<zod.ZodString>;
                    vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        contactId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        disable: zod.ZodOptional<zod.ZodBoolean>;
                        disableReason: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        via: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
    }, zod.z.core.$strip>>>;
    next: zod.ZodOptional<zod.ZodBoolean>;
}, zod.z.core.$strip>;
export declare const ThreadManagementCreateBody: zod.ZodObject<{
    direct: zod.ZodOptional<zod.ZodObject<{
        member: zod.ZodOptional<zod.ZodObject<{
            iss: zod.ZodOptional<zod.ZodString>;
            sub: zod.ZodOptional<zod.ZodString>;
            via: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
    }, zod.z.core.$strip>>;
}, zod.z.core.$strip>;
export declare const threadManagementCreateResponseThreadLastMsgReactedMetadataReactedByRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementCreateResponseThreadLastMsgSenderRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementCreateResponseThreadMembersItemRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementCreateResponseThreadTypeDefault = "UNKNOWN";
export declare const ThreadManagementCreateResponse: zod.ZodObject<{
    thread: zod.ZodOptional<zod.ZodObject<{
        createdAt: zod.ZodOptional<zod.ZodString>;
        description: zod.ZodOptional<zod.ZodString>;
        id: zod.ZodOptional<zod.ZodString>;
        lastMsg: zod.ZodOptional<zod.ZodObject<{
            body: zod.ZodOptional<zod.ZodString>;
            contact: zod.ZodOptional<zod.ZodObject<{
                email: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                phone: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                createdAt: zod.ZodOptional<zod.ZodString>;
                fileId: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                messageId: zod.ZodOptional<zod.ZodString>;
                mime: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                size: zod.ZodOptional<zod.ZodString>;
                url: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
            editedAt: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                createdAt: zod.ZodOptional<zod.ZodString>;
                fileId: zod.ZodOptional<zod.ZodString>;
                height: zod.ZodOptional<zod.ZodNumber>;
                id: zod.ZodOptional<zod.ZodString>;
                messageId: zod.ZodOptional<zod.ZodString>;
                mime: zod.ZodOptional<zod.ZodString>;
                url: zod.ZodOptional<zod.ZodString>;
                width: zod.ZodOptional<zod.ZodNumber>;
            }, zod.z.core.$strip>>>;
            interactive: zod.ZodOptional<zod.ZodObject<{
                documents: zod.ZodOptional<zod.ZodObject<{
                    documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        fileName: zod.ZodOptional<zod.ZodString>;
                        id: zod.ZodOptional<zod.ZodString>;
                        mimeType: zod.ZodOptional<zod.ZodString>;
                        sizeBytes: zod.ZodOptional<zod.ZodString>;
                        url: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                images: zod.ZodOptional<zod.ZodObject<{
                    images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        id: zod.ZodOptional<zod.ZodString>;
                        link: zod.ZodOptional<zod.ZodString>;
                        mimeType: zod.ZodOptional<zod.ZodString>;
                        name: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                listReply: zod.ZodOptional<zod.ZodObject<{
                    mainButtonTitle: zod.ZodOptional<zod.ZodString>;
                    sections: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            callback: zod.ZodOptional<zod.ZodObject<{
                                data: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            id: zod.ZodOptional<zod.ZodString>;
                            label: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            request: zod.ZodOptional<zod.ZodObject<{
                                action: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            url: zod.ZodOptional<zod.ZodObject<{
                                url: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                        }, zod.z.core.$strip>>>;
                        section: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                markup: zod.ZodOptional<zod.ZodObject<{
                    rows: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            callback: zod.ZodOptional<zod.ZodObject<{
                                data: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            id: zod.ZodOptional<zod.ZodString>;
                            label: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            request: zod.ZodOptional<zod.ZodObject<{
                                action: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            url: zod.ZodOptional<zod.ZodObject<{
                                url: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                        }, zod.z.core.$strip>>>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                singleUse: zod.ZodOptional<zod.ZodBoolean>;
            }, zod.z.core.$strip>>;
            location: zod.ZodOptional<zod.ZodObject<{
                address: zod.ZodOptional<zod.ZodString>;
                latitude: zod.ZodOptional<zod.ZodNumber>;
                longitude: zod.ZodOptional<zod.ZodNumber>;
                name: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
            reactedMetadata: zod.ZodOptional<zod.ZodObject<{
                buttonCode: zod.ZodOptional<zod.ZodString>;
                callbackData: zod.ZodOptional<zod.ZodString>;
                inReplyTo: zod.ZodOptional<zod.ZodString>;
                reactedAt: zod.ZodOptional<zod.ZodString>;
                reactedBy: zod.ZodOptional<zod.ZodObject<{
                    contact: zod.ZodOptional<zod.ZodObject<{
                        appId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        isBot: zod.ZodOptional<zod.ZodBoolean>;
                        iss: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                        name: zod.ZodOptional<zod.ZodString>;
                        sub: zod.ZodOptional<zod.ZodString>;
                        type: zod.ZodOptional<zod.ZodString>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        username: zod.ZodOptional<zod.ZodString>;
                        vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            contactId: zod.ZodOptional<zod.ZodString>;
                            createdAt: zod.ZodOptional<zod.ZodString>;
                            disable: zod.ZodOptional<zod.ZodBoolean>;
                            disableReason: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            updatedAt: zod.ZodOptional<zod.ZodString>;
                            via: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>>;
                    }, zod.z.core.$strip>>;
                    id: zod.ZodOptional<zod.ZodString>;
                    permissions: zod.ZodOptional<zod.ZodObject<{
                        canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                        canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                        canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                        canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                        canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        id: zod.ZodOptional<zod.ZodString>;
                        memberId: zod.ZodOptional<zod.ZodString>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>;
                    role: zod.ZodDefault<zod.ZodEnum<{
                        ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                        ROLE_MEMBER: "ROLE_MEMBER";
                        ROLE_ADMIN: "ROLE_ADMIN";
                        ROLE_OWNER: "ROLE_OWNER";
                        ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
                    }>>;
                }, zod.z.core.$strip>>;
            }, zod.z.core.$strip>>;
            sender: zod.ZodOptional<zod.ZodObject<{
                contact: zod.ZodOptional<zod.ZodObject<{
                    appId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    isBot: zod.ZodOptional<zod.ZodBoolean>;
                    iss: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                    name: zod.ZodOptional<zod.ZodString>;
                    sub: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    username: zod.ZodOptional<zod.ZodString>;
                    vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        contactId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        disable: zod.ZodOptional<zod.ZodBoolean>;
                        disableReason: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        via: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                id: zod.ZodOptional<zod.ZodString>;
                permissions: zod.ZodOptional<zod.ZodObject<{
                    canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                    canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                    canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                    canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                    canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    id: zod.ZodOptional<zod.ZodString>;
                    memberId: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                role: zod.ZodDefault<zod.ZodEnum<{
                    ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                    ROLE_MEMBER: "ROLE_MEMBER";
                    ROLE_ADMIN: "ROLE_ADMIN";
                    ROLE_OWNER: "ROLE_OWNER";
                    ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
                }>>;
            }, zod.z.core.$strip>>;
            system: zod.ZodOptional<zod.ZodObject<{
                messageId: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            threadId: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodNumber>;
        }, zod.z.core.$strip>>;
        members: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
            contact: zod.ZodOptional<zod.ZodObject<{
                appId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                isBot: zod.ZodOptional<zod.ZodBoolean>;
                iss: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                name: zod.ZodOptional<zod.ZodString>;
                sub: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                username: zod.ZodOptional<zod.ZodString>;
                vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    contactId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    disable: zod.ZodOptional<zod.ZodBoolean>;
                    disableReason: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    via: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            id: zod.ZodOptional<zod.ZodString>;
            permissions: zod.ZodOptional<zod.ZodObject<{
                canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                memberId: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            role: zod.ZodDefault<zod.ZodEnum<{
                ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                ROLE_MEMBER: "ROLE_MEMBER";
                ROLE_ADMIN: "ROLE_ADMIN";
                ROLE_OWNER: "ROLE_OWNER";
                ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
            }>>;
        }, zod.z.core.$strip>>>;
        settings: zod.ZodOptional<zod.ZodObject<{
            createdAt: zod.ZodOptional<zod.ZodString>;
            domainId: zod.ZodOptional<zod.ZodNumber>;
            id: zod.ZodOptional<zod.ZodString>;
            title: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        subject: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodDefault<zod.ZodEnum<{
            UNKNOWN: "UNKNOWN";
            DIRECT: "DIRECT";
            GROUP: "GROUP";
            CHANNEL: "CHANNEL";
        }>>;
        updatedAt: zod.ZodOptional<zod.ZodString>;
        variables: zod.ZodOptional<zod.ZodObject<{
            threadId: zod.ZodOptional<zod.ZodString>;
            variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
                setAt: zod.ZodOptional<zod.ZodString>;
                setBy: zod.ZodOptional<zod.ZodObject<{
                    appId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    isBot: zod.ZodOptional<zod.ZodBoolean>;
                    iss: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                    name: zod.ZodOptional<zod.ZodString>;
                    sub: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    username: zod.ZodOptional<zod.ZodString>;
                    vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        contactId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        disable: zod.ZodOptional<zod.ZodBoolean>;
                        disableReason: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        via: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
    }, zod.z.core.$strip>>;
}, zod.z.core.$strip>;
/**
 * @summary Search threads that the caller has left from
 */
export declare const ThreadManagementSearchLeftQueryParams: zod.ZodObject<{
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    types: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
        UNKNOWN: "UNKNOWN";
        DIRECT: "DIRECT";
        GROUP: "GROUP";
        CHANNEL: "CHANNEL";
    }>>>;
    sort: zod.ZodOptional<zod.ZodString>;
    size: zod.ZodOptional<zod.ZodNumber>;
    page: zod.ZodOptional<zod.ZodNumber>;
}, zod.z.core.$strip>;
export declare const threadManagementSearchLeftResponseItemsItemLastMsgReactedMetadataReactedByRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementSearchLeftResponseItemsItemLastMsgSenderRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementSearchLeftResponseItemsItemMembersItemRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementSearchLeftResponseItemsItemTypeDefault = "UNKNOWN";
export declare const ThreadManagementSearchLeftResponse: zod.ZodObject<{
    items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        createdAt: zod.ZodOptional<zod.ZodString>;
        description: zod.ZodOptional<zod.ZodString>;
        id: zod.ZodOptional<zod.ZodString>;
        lastMsg: zod.ZodOptional<zod.ZodObject<{
            body: zod.ZodOptional<zod.ZodString>;
            contact: zod.ZodOptional<zod.ZodObject<{
                email: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                phone: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                createdAt: zod.ZodOptional<zod.ZodString>;
                fileId: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                messageId: zod.ZodOptional<zod.ZodString>;
                mime: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                size: zod.ZodOptional<zod.ZodString>;
                url: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
            editedAt: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                createdAt: zod.ZodOptional<zod.ZodString>;
                fileId: zod.ZodOptional<zod.ZodString>;
                height: zod.ZodOptional<zod.ZodNumber>;
                id: zod.ZodOptional<zod.ZodString>;
                messageId: zod.ZodOptional<zod.ZodString>;
                mime: zod.ZodOptional<zod.ZodString>;
                url: zod.ZodOptional<zod.ZodString>;
                width: zod.ZodOptional<zod.ZodNumber>;
            }, zod.z.core.$strip>>>;
            interactive: zod.ZodOptional<zod.ZodObject<{
                documents: zod.ZodOptional<zod.ZodObject<{
                    documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        fileName: zod.ZodOptional<zod.ZodString>;
                        id: zod.ZodOptional<zod.ZodString>;
                        mimeType: zod.ZodOptional<zod.ZodString>;
                        sizeBytes: zod.ZodOptional<zod.ZodString>;
                        url: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                images: zod.ZodOptional<zod.ZodObject<{
                    images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        id: zod.ZodOptional<zod.ZodString>;
                        link: zod.ZodOptional<zod.ZodString>;
                        mimeType: zod.ZodOptional<zod.ZodString>;
                        name: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                listReply: zod.ZodOptional<zod.ZodObject<{
                    mainButtonTitle: zod.ZodOptional<zod.ZodString>;
                    sections: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            callback: zod.ZodOptional<zod.ZodObject<{
                                data: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            id: zod.ZodOptional<zod.ZodString>;
                            label: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            request: zod.ZodOptional<zod.ZodObject<{
                                action: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            url: zod.ZodOptional<zod.ZodObject<{
                                url: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                        }, zod.z.core.$strip>>>;
                        section: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                markup: zod.ZodOptional<zod.ZodObject<{
                    rows: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            callback: zod.ZodOptional<zod.ZodObject<{
                                data: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            id: zod.ZodOptional<zod.ZodString>;
                            label: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            request: zod.ZodOptional<zod.ZodObject<{
                                action: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                            url: zod.ZodOptional<zod.ZodObject<{
                                url: zod.ZodOptional<zod.ZodString>;
                            }, zod.z.core.$strip>>;
                        }, zod.z.core.$strip>>>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                singleUse: zod.ZodOptional<zod.ZodBoolean>;
            }, zod.z.core.$strip>>;
            location: zod.ZodOptional<zod.ZodObject<{
                address: zod.ZodOptional<zod.ZodString>;
                latitude: zod.ZodOptional<zod.ZodNumber>;
                longitude: zod.ZodOptional<zod.ZodNumber>;
                name: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
            reactedMetadata: zod.ZodOptional<zod.ZodObject<{
                buttonCode: zod.ZodOptional<zod.ZodString>;
                callbackData: zod.ZodOptional<zod.ZodString>;
                inReplyTo: zod.ZodOptional<zod.ZodString>;
                reactedAt: zod.ZodOptional<zod.ZodString>;
                reactedBy: zod.ZodOptional<zod.ZodObject<{
                    contact: zod.ZodOptional<zod.ZodObject<{
                        appId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        isBot: zod.ZodOptional<zod.ZodBoolean>;
                        iss: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                        name: zod.ZodOptional<zod.ZodString>;
                        sub: zod.ZodOptional<zod.ZodString>;
                        type: zod.ZodOptional<zod.ZodString>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        username: zod.ZodOptional<zod.ZodString>;
                        vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                            contactId: zod.ZodOptional<zod.ZodString>;
                            createdAt: zod.ZodOptional<zod.ZodString>;
                            disable: zod.ZodOptional<zod.ZodBoolean>;
                            disableReason: zod.ZodOptional<zod.ZodString>;
                            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                            updatedAt: zod.ZodOptional<zod.ZodString>;
                            via: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>>;
                    }, zod.z.core.$strip>>;
                    id: zod.ZodOptional<zod.ZodString>;
                    permissions: zod.ZodOptional<zod.ZodObject<{
                        canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                        canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                        canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                        canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                        canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        id: zod.ZodOptional<zod.ZodString>;
                        memberId: zod.ZodOptional<zod.ZodString>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>;
                    role: zod.ZodDefault<zod.ZodEnum<{
                        ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                        ROLE_MEMBER: "ROLE_MEMBER";
                        ROLE_ADMIN: "ROLE_ADMIN";
                        ROLE_OWNER: "ROLE_OWNER";
                        ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
                    }>>;
                }, zod.z.core.$strip>>;
            }, zod.z.core.$strip>>;
            sender: zod.ZodOptional<zod.ZodObject<{
                contact: zod.ZodOptional<zod.ZodObject<{
                    appId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    isBot: zod.ZodOptional<zod.ZodBoolean>;
                    iss: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                    name: zod.ZodOptional<zod.ZodString>;
                    sub: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    username: zod.ZodOptional<zod.ZodString>;
                    vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        contactId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        disable: zod.ZodOptional<zod.ZodBoolean>;
                        disableReason: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        via: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                id: zod.ZodOptional<zod.ZodString>;
                permissions: zod.ZodOptional<zod.ZodObject<{
                    canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                    canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                    canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                    canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                    canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    id: zod.ZodOptional<zod.ZodString>;
                    memberId: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                role: zod.ZodDefault<zod.ZodEnum<{
                    ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                    ROLE_MEMBER: "ROLE_MEMBER";
                    ROLE_ADMIN: "ROLE_ADMIN";
                    ROLE_OWNER: "ROLE_OWNER";
                    ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
                }>>;
            }, zod.z.core.$strip>>;
            system: zod.ZodOptional<zod.ZodObject<{
                messageId: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            threadId: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodNumber>;
        }, zod.z.core.$strip>>;
        members: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
            contact: zod.ZodOptional<zod.ZodObject<{
                appId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                isBot: zod.ZodOptional<zod.ZodBoolean>;
                iss: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                name: zod.ZodOptional<zod.ZodString>;
                sub: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                username: zod.ZodOptional<zod.ZodString>;
                vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    contactId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    disable: zod.ZodOptional<zod.ZodBoolean>;
                    disableReason: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    via: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            id: zod.ZodOptional<zod.ZodString>;
            permissions: zod.ZodOptional<zod.ZodObject<{
                canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                memberId: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            role: zod.ZodDefault<zod.ZodEnum<{
                ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                ROLE_MEMBER: "ROLE_MEMBER";
                ROLE_ADMIN: "ROLE_ADMIN";
                ROLE_OWNER: "ROLE_OWNER";
                ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
            }>>;
        }, zod.z.core.$strip>>>;
        settings: zod.ZodOptional<zod.ZodObject<{
            createdAt: zod.ZodOptional<zod.ZodString>;
            domainId: zod.ZodOptional<zod.ZodNumber>;
            id: zod.ZodOptional<zod.ZodString>;
            title: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        subject: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodDefault<zod.ZodEnum<{
            UNKNOWN: "UNKNOWN";
            DIRECT: "DIRECT";
            GROUP: "GROUP";
            CHANNEL: "CHANNEL";
        }>>;
        updatedAt: zod.ZodOptional<zod.ZodString>;
        variables: zod.ZodOptional<zod.ZodObject<{
            threadId: zod.ZodOptional<zod.ZodString>;
            variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
                setAt: zod.ZodOptional<zod.ZodString>;
                setBy: zod.ZodOptional<zod.ZodObject<{
                    appId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    isBot: zod.ZodOptional<zod.ZodBoolean>;
                    iss: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                    name: zod.ZodOptional<zod.ZodString>;
                    sub: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    username: zod.ZodOptional<zod.ZodString>;
                    vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        contactId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        disable: zod.ZodOptional<zod.ZodBoolean>;
                        disableReason: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        via: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
    }, zod.z.core.$strip>>>;
    next: zod.ZodOptional<zod.ZodBoolean>;
}, zod.z.core.$strip>;
/**
 * @summary Returns a single thread by its identifier.
 */
export declare const ThreadManagementGetParams: zod.ZodObject<{
    id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const ThreadManagementGetQueryParams: zod.ZodObject<{
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
}, zod.z.core.$strip>;
export declare const threadManagementGetResponseLastMsgReactedMetadataReactedByRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementGetResponseLastMsgSenderRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementGetResponseMembersItemRoleDefault = "ROLE_UNSPECIFIED";
export declare const threadManagementGetResponseTypeDefault = "UNKNOWN";
export declare const ThreadManagementGetResponse: zod.ZodObject<{
    createdAt: zod.ZodOptional<zod.ZodString>;
    description: zod.ZodOptional<zod.ZodString>;
    id: zod.ZodOptional<zod.ZodString>;
    lastMsg: zod.ZodOptional<zod.ZodObject<{
        body: zod.ZodOptional<zod.ZodString>;
        contact: zod.ZodOptional<zod.ZodObject<{
            email: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            phone: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        createdAt: zod.ZodOptional<zod.ZodString>;
        documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
            createdAt: zod.ZodOptional<zod.ZodString>;
            fileId: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            messageId: zod.ZodOptional<zod.ZodString>;
            mime: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            size: zod.ZodOptional<zod.ZodString>;
            url: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>>;
        editedAt: zod.ZodOptional<zod.ZodString>;
        id: zod.ZodOptional<zod.ZodString>;
        images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
            createdAt: zod.ZodOptional<zod.ZodString>;
            fileId: zod.ZodOptional<zod.ZodString>;
            height: zod.ZodOptional<zod.ZodNumber>;
            id: zod.ZodOptional<zod.ZodString>;
            messageId: zod.ZodOptional<zod.ZodString>;
            mime: zod.ZodOptional<zod.ZodString>;
            url: zod.ZodOptional<zod.ZodString>;
            width: zod.ZodOptional<zod.ZodNumber>;
        }, zod.z.core.$strip>>>;
        interactive: zod.ZodOptional<zod.ZodObject<{
            documents: zod.ZodOptional<zod.ZodObject<{
                documents: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    fileName: zod.ZodOptional<zod.ZodString>;
                    id: zod.ZodOptional<zod.ZodString>;
                    mimeType: zod.ZodOptional<zod.ZodString>;
                    sizeBytes: zod.ZodOptional<zod.ZodString>;
                    url: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            images: zod.ZodOptional<zod.ZodObject<{
                images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    id: zod.ZodOptional<zod.ZodString>;
                    link: zod.ZodOptional<zod.ZodString>;
                    mimeType: zod.ZodOptional<zod.ZodString>;
                    name: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            listReply: zod.ZodOptional<zod.ZodObject<{
                mainButtonTitle: zod.ZodOptional<zod.ZodString>;
                sections: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        callback: zod.ZodOptional<zod.ZodObject<{
                            data: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>;
                        id: zod.ZodOptional<zod.ZodString>;
                        label: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        request: zod.ZodOptional<zod.ZodObject<{
                            action: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>;
                        url: zod.ZodOptional<zod.ZodObject<{
                            url: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>;
                    }, zod.z.core.$strip>>>;
                    section: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            markup: zod.ZodOptional<zod.ZodObject<{
                rows: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        callback: zod.ZodOptional<zod.ZodObject<{
                            data: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>;
                        id: zod.ZodOptional<zod.ZodString>;
                        label: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        request: zod.ZodOptional<zod.ZodObject<{
                            action: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>;
                        url: zod.ZodOptional<zod.ZodObject<{
                            url: zod.ZodOptional<zod.ZodString>;
                        }, zod.z.core.$strip>>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            singleUse: zod.ZodOptional<zod.ZodBoolean>;
        }, zod.z.core.$strip>>;
        location: zod.ZodOptional<zod.ZodObject<{
            address: zod.ZodOptional<zod.ZodString>;
            latitude: zod.ZodOptional<zod.ZodNumber>;
            longitude: zod.ZodOptional<zod.ZodNumber>;
            name: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
        reactedMetadata: zod.ZodOptional<zod.ZodObject<{
            buttonCode: zod.ZodOptional<zod.ZodString>;
            callbackData: zod.ZodOptional<zod.ZodString>;
            inReplyTo: zod.ZodOptional<zod.ZodString>;
            reactedAt: zod.ZodOptional<zod.ZodString>;
            reactedBy: zod.ZodOptional<zod.ZodObject<{
                contact: zod.ZodOptional<zod.ZodObject<{
                    appId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    isBot: zod.ZodOptional<zod.ZodBoolean>;
                    iss: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                    name: zod.ZodOptional<zod.ZodString>;
                    sub: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    username: zod.ZodOptional<zod.ZodString>;
                    vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        contactId: zod.ZodOptional<zod.ZodString>;
                        createdAt: zod.ZodOptional<zod.ZodString>;
                        disable: zod.ZodOptional<zod.ZodBoolean>;
                        disableReason: zod.ZodOptional<zod.ZodString>;
                        metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                        updatedAt: zod.ZodOptional<zod.ZodString>;
                        via: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>;
                id: zod.ZodOptional<zod.ZodString>;
                permissions: zod.ZodOptional<zod.ZodObject<{
                    canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                    canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                    canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                    canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                    canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    id: zod.ZodOptional<zod.ZodString>;
                    memberId: zod.ZodOptional<zod.ZodString>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                role: zod.ZodDefault<zod.ZodEnum<{
                    ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                    ROLE_MEMBER: "ROLE_MEMBER";
                    ROLE_ADMIN: "ROLE_ADMIN";
                    ROLE_OWNER: "ROLE_OWNER";
                    ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
                }>>;
            }, zod.z.core.$strip>>;
        }, zod.z.core.$strip>>;
        sender: zod.ZodOptional<zod.ZodObject<{
            contact: zod.ZodOptional<zod.ZodObject<{
                appId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                isBot: zod.ZodOptional<zod.ZodBoolean>;
                iss: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                name: zod.ZodOptional<zod.ZodString>;
                sub: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                username: zod.ZodOptional<zod.ZodString>;
                vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    contactId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    disable: zod.ZodOptional<zod.ZodBoolean>;
                    disableReason: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    via: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            id: zod.ZodOptional<zod.ZodString>;
            permissions: zod.ZodOptional<zod.ZodObject<{
                canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
                canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
                canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
                canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
                canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                memberId: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            role: zod.ZodDefault<zod.ZodEnum<{
                ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
                ROLE_MEMBER: "ROLE_MEMBER";
                ROLE_ADMIN: "ROLE_ADMIN";
                ROLE_OWNER: "ROLE_OWNER";
                ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
            }>>;
        }, zod.z.core.$strip>>;
        system: zod.ZodOptional<zod.ZodObject<{
            messageId: zod.ZodOptional<zod.ZodString>;
            metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        threadId: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodOptional<zod.ZodNumber>;
    }, zod.z.core.$strip>>;
    members: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        contact: zod.ZodOptional<zod.ZodObject<{
            appId: zod.ZodOptional<zod.ZodString>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            isBot: zod.ZodOptional<zod.ZodBoolean>;
            iss: zod.ZodOptional<zod.ZodString>;
            metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            name: zod.ZodOptional<zod.ZodString>;
            sub: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
            username: zod.ZodOptional<zod.ZodString>;
            vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                contactId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                disable: zod.ZodOptional<zod.ZodBoolean>;
                disableReason: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                via: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
        id: zod.ZodOptional<zod.ZodString>;
        permissions: zod.ZodOptional<zod.ZodObject<{
            canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
            canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
            canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
            canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
            canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            memberId: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        role: zod.ZodDefault<zod.ZodEnum<{
            ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
            ROLE_MEMBER: "ROLE_MEMBER";
            ROLE_ADMIN: "ROLE_ADMIN";
            ROLE_OWNER: "ROLE_OWNER";
            ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
        }>>;
    }, zod.z.core.$strip>>>;
    settings: zod.ZodOptional<zod.ZodObject<{
        createdAt: zod.ZodOptional<zod.ZodString>;
        domainId: zod.ZodOptional<zod.ZodNumber>;
        id: zod.ZodOptional<zod.ZodString>;
        title: zod.ZodOptional<zod.ZodString>;
        updatedAt: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>;
    subject: zod.ZodOptional<zod.ZodString>;
    type: zod.ZodDefault<zod.ZodEnum<{
        UNKNOWN: "UNKNOWN";
        DIRECT: "DIRECT";
        GROUP: "GROUP";
        CHANNEL: "CHANNEL";
    }>>;
    updatedAt: zod.ZodOptional<zod.ZodString>;
    variables: zod.ZodOptional<zod.ZodObject<{
        threadId: zod.ZodOptional<zod.ZodString>;
        variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
            setAt: zod.ZodOptional<zod.ZodString>;
            setBy: zod.ZodOptional<zod.ZodObject<{
                appId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                isBot: zod.ZodOptional<zod.ZodBoolean>;
                iss: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                name: zod.ZodOptional<zod.ZodString>;
                sub: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                username: zod.ZodOptional<zod.ZodString>;
                vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    contactId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    disable: zod.ZodOptional<zod.ZodBoolean>;
                    disableReason: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    via: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
        }, zod.z.core.$strip>>>;
    }, zod.z.core.$strip>>;
}, zod.z.core.$strip>;
/**
 * @summary Add member to the thread.
 */
export declare const ThreadManagementAddMemberParams: zod.ZodObject<{
    thread_id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const threadManagementAddMemberBodyRoleDefault = "ROLE_UNSPECIFIED";
export declare const ThreadManagementAddMemberBody: zod.ZodObject<{
    contact: zod.ZodOptional<zod.ZodObject<{
        iss: zod.ZodOptional<zod.ZodString>;
        sub: zod.ZodOptional<zod.ZodString>;
        via: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>;
    role: zod.ZodDefault<zod.ZodEnum<{
        ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
        ROLE_MEMBER: "ROLE_MEMBER";
        ROLE_ADMIN: "ROLE_ADMIN";
        ROLE_OWNER: "ROLE_OWNER";
        ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
    }>>;
}, zod.z.core.$strip>;
export declare const threadManagementAddMemberResponseMemberRoleDefault = "ROLE_UNSPECIFIED";
export declare const ThreadManagementAddMemberResponse: zod.ZodObject<{
    member: zod.ZodOptional<zod.ZodObject<{
        contact: zod.ZodOptional<zod.ZodObject<{
            appId: zod.ZodOptional<zod.ZodString>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            isBot: zod.ZodOptional<zod.ZodBoolean>;
            iss: zod.ZodOptional<zod.ZodString>;
            metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            name: zod.ZodOptional<zod.ZodString>;
            sub: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
            username: zod.ZodOptional<zod.ZodString>;
            vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                contactId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                disable: zod.ZodOptional<zod.ZodBoolean>;
                disableReason: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                via: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
        id: zod.ZodOptional<zod.ZodString>;
        permissions: zod.ZodOptional<zod.ZodObject<{
            canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
            canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
            canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
            canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
            canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            memberId: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        role: zod.ZodDefault<zod.ZodEnum<{
            ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
            ROLE_MEMBER: "ROLE_MEMBER";
            ROLE_ADMIN: "ROLE_ADMIN";
            ROLE_OWNER: "ROLE_OWNER";
            ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
        }>>;
    }, zod.z.core.$strip>>;
}, zod.z.core.$strip>;
/**
 * @summary Remove member from the thread.
 */
export declare const ThreadManagementRemoveMemberParams: zod.ZodObject<{
    thread_id: zod.ZodString;
    member_id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const ThreadManagementRemoveMemberResponse: zod.ZodObject<{}, zod.z.core.$loose>;
/**
 * @summary Transfer unites add member and remove member.
It adds a new member to the thread and removes the initiator from the thread.
 */
export declare const ThreadManagementTransferParams: zod.ZodObject<{
    thread_id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const threadManagementTransferBodyRoleDefault = "ROLE_UNSPECIFIED";
export declare const ThreadManagementTransferBody: zod.ZodObject<{
    contact: zod.ZodOptional<zod.ZodObject<{
        iss: zod.ZodOptional<zod.ZodString>;
        sub: zod.ZodOptional<zod.ZodString>;
        via: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>;
    role: zod.ZodDefault<zod.ZodEnum<{
        ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
        ROLE_MEMBER: "ROLE_MEMBER";
        ROLE_ADMIN: "ROLE_ADMIN";
        ROLE_OWNER: "ROLE_OWNER";
        ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
    }>>;
}, zod.z.core.$strip>;
export declare const threadManagementTransferResponseMemberRoleDefault = "ROLE_UNSPECIFIED";
export declare const ThreadManagementTransferResponse: zod.ZodObject<{
    member: zod.ZodOptional<zod.ZodObject<{
        contact: zod.ZodOptional<zod.ZodObject<{
            appId: zod.ZodOptional<zod.ZodString>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            isBot: zod.ZodOptional<zod.ZodBoolean>;
            iss: zod.ZodOptional<zod.ZodString>;
            metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            name: zod.ZodOptional<zod.ZodString>;
            sub: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
            username: zod.ZodOptional<zod.ZodString>;
            vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                contactId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                disable: zod.ZodOptional<zod.ZodBoolean>;
                disableReason: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                via: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
        id: zod.ZodOptional<zod.ZodString>;
        permissions: zod.ZodOptional<zod.ZodObject<{
            canAddMembers: zod.ZodOptional<zod.ZodBoolean>;
            canChangeMembersPermissions: zod.ZodOptional<zod.ZodBoolean>;
            canChangeThreadInfo: zod.ZodOptional<zod.ZodBoolean>;
            canRemoveMembers: zod.ZodOptional<zod.ZodBoolean>;
            canSendMessages: zod.ZodOptional<zod.ZodBoolean>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            memberId: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        role: zod.ZodDefault<zod.ZodEnum<{
            ROLE_UNSPECIFIED: "ROLE_UNSPECIFIED";
            ROLE_MEMBER: "ROLE_MEMBER";
            ROLE_ADMIN: "ROLE_ADMIN";
            ROLE_OWNER: "ROLE_OWNER";
            ROLE_SUPERVISOR: "ROLE_SUPERVISOR";
        }>>;
    }, zod.z.core.$strip>>;
}, zod.z.core.$strip>;
/**
 * @summary Retrieves all variables for a specific thread.
 */
export declare const ThreadManagementLocateVariablesParams: zod.ZodObject<{
    thread_id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const ThreadManagementLocateVariablesResponse: zod.ZodObject<{
    threadId: zod.ZodOptional<zod.ZodString>;
    variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
        setAt: zod.ZodOptional<zod.ZodString>;
        setBy: zod.ZodOptional<zod.ZodObject<{
            appId: zod.ZodOptional<zod.ZodString>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            isBot: zod.ZodOptional<zod.ZodBoolean>;
            iss: zod.ZodOptional<zod.ZodString>;
            metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            name: zod.ZodOptional<zod.ZodString>;
            sub: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
            username: zod.ZodOptional<zod.ZodString>;
            vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                contactId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                disable: zod.ZodOptional<zod.ZodBoolean>;
                disableReason: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                via: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
        value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
    }, zod.z.core.$strip>>>;
}, zod.z.core.$strip>;
/**
 * @summary Sets or updates variables for a specific thread.
Existing variables with the same keys will be overwritten if were setted by the caller.
New variables will be created if they do not exist.
 */
export declare const ThreadManagementSetVariablesParams: zod.ZodObject<{
    thread_id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const ThreadManagementSetVariablesBody: zod.ZodObject<{
    variables: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        key: zod.ZodOptional<zod.ZodString>;
        value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
    }, zod.z.core.$strip>>>;
}, zod.z.core.$strip>;
export declare const ThreadManagementSetVariablesResponse: zod.ZodObject<{
    threadId: zod.ZodOptional<zod.ZodString>;
    variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
        setAt: zod.ZodOptional<zod.ZodString>;
        setBy: zod.ZodOptional<zod.ZodObject<{
            appId: zod.ZodOptional<zod.ZodString>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            isBot: zod.ZodOptional<zod.ZodBoolean>;
            iss: zod.ZodOptional<zod.ZodString>;
            metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            name: zod.ZodOptional<zod.ZodString>;
            sub: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
            username: zod.ZodOptional<zod.ZodString>;
            vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                contactId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                disable: zod.ZodOptional<zod.ZodBoolean>;
                disableReason: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                via: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
        value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
    }, zod.z.core.$strip>>>;
}, zod.z.core.$strip>;
/**
 * @summary Removes specified variables from a thread with caller's permission.
If no keys are provided, all variables may be removed
depending on implementation.
 */
export declare const ThreadManagementFlushVariablesParams: zod.ZodObject<{
    thread_id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const ThreadManagementFlushVariablesBody: zod.ZodObject<{
    keys: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
}, zod.z.core.$strip>;
export declare const ThreadManagementFlushVariablesResponse: zod.ZodObject<{
    threadId: zod.ZodOptional<zod.ZodString>;
    variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
        setAt: zod.ZodOptional<zod.ZodString>;
        setBy: zod.ZodOptional<zod.ZodObject<{
            appId: zod.ZodOptional<zod.ZodString>;
            createdAt: zod.ZodOptional<zod.ZodString>;
            isBot: zod.ZodOptional<zod.ZodBoolean>;
            iss: zod.ZodOptional<zod.ZodString>;
            metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            name: zod.ZodOptional<zod.ZodString>;
            sub: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
            updatedAt: zod.ZodOptional<zod.ZodString>;
            username: zod.ZodOptional<zod.ZodString>;
            vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                contactId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                disable: zod.ZodOptional<zod.ZodBoolean>;
                disableReason: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                via: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
        value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
    }, zod.z.core.$strip>>>;
}, zod.z.core.$strip>;
/**
 * @summary Searches thread variables across multiple threads.
Supports pagination and field projection.
 */
export declare const ThreadManagementSearchVariablesQueryParams: zod.ZodObject<{
    size: zod.ZodOptional<zod.ZodNumber>;
    page: zod.ZodOptional<zod.ZodNumber>;
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    threadIds: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
}, zod.z.core.$strip>;
export declare const ThreadManagementSearchVariablesResponse: zod.ZodObject<{
    items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        threadId: zod.ZodOptional<zod.ZodString>;
        variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
            setAt: zod.ZodOptional<zod.ZodString>;
            setBy: zod.ZodOptional<zod.ZodObject<{
                appId: zod.ZodOptional<zod.ZodString>;
                createdAt: zod.ZodOptional<zod.ZodString>;
                isBot: zod.ZodOptional<zod.ZodBoolean>;
                iss: zod.ZodOptional<zod.ZodString>;
                metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                name: zod.ZodOptional<zod.ZodString>;
                sub: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
                updatedAt: zod.ZodOptional<zod.ZodString>;
                username: zod.ZodOptional<zod.ZodString>;
                vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    contactId: zod.ZodOptional<zod.ZodString>;
                    createdAt: zod.ZodOptional<zod.ZodString>;
                    disable: zod.ZodOptional<zod.ZodBoolean>;
                    disableReason: zod.ZodOptional<zod.ZodString>;
                    metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
                    updatedAt: zod.ZodOptional<zod.ZodString>;
                    via: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>;
            value: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
        }, zod.z.core.$strip>>>;
    }, zod.z.core.$strip>>>;
    next: zod.ZodOptional<zod.ZodBoolean>;
}, zod.z.core.$strip>;
