/**
 * Generated by orval v8.19.0 🍺
 * Do not edit manually.
 * Webitel API
 * OpenAPI spec version: 24.04.0
 */
import * as zod from 'zod';
/**
 * @summary Broadcast message send message from via to peer recipients.
 */
export declare const MessagesServiceBroadcastMessageBody: zod.ZodObject<{
    message: zod.ZodOptional<zod.ZodObject<{
        file: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            source: zod.ZodOptional<zod.ZodString>;
            url: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        keyboard: zod.ZodOptional<zod.ZodObject<{
            rows: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    caption: zod.ZodOptional<zod.ZodString>;
                    code: zod.ZodOptional<zod.ZodString>;
                    text: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                    url: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>>;
        }, zod.z.core.$strip>>;
        text: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>;
    peers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        id: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodOptional<zod.ZodString>;
        via: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>>;
    timeout: zod.ZodOptional<zod.ZodString>;
    variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
}, zod.z.core.$strip>;
export declare const MessagesServiceBroadcastMessageResponse: zod.ZodObject<{
    failure: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        error: zod.ZodOptional<zod.ZodObject<{
            code: zod.ZodOptional<zod.ZodNumber>;
            details: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                '@type': zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>>;
            message: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        peerId: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>>;
    variables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
}, zod.z.core.$strip>;
/**
 * @summary Query of external chat customers
 */
export declare const CatalogGetCustomersQueryParams: zod.ZodObject<{
    page: zod.ZodOptional<zod.ZodNumber>;
    size: zod.ZodOptional<zod.ZodNumber>;
    q: zod.ZodOptional<zod.ZodString>;
    sort: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    id: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    type: zod.ZodOptional<zod.ZodString>;
    viaId: zod.ZodOptional<zod.ZodString>;
    viaType: zod.ZodOptional<zod.ZodString>;
    viaName: zod.ZodOptional<zod.ZodString>;
}, zod.z.core.$strip>;
export declare const CatalogGetCustomersResponse: zod.ZodObject<{
    next: zod.ZodOptional<zod.ZodBoolean>;
    page: zod.ZodOptional<zod.ZodNumber>;
    peers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        id: zod.ZodOptional<zod.ZodString>;
        name: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodOptional<zod.ZodString>;
        via: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>>;
    }, zod.z.core.$strip>>>;
    vias: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        id: zod.ZodOptional<zod.ZodString>;
        name: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>>;
}, zod.z.core.$strip>;
/**
 * @summary Query of chat conversations
 */
export declare const CatalogGetDialogsQueryParams: zod.ZodObject<{
    page: zod.ZodOptional<zod.ZodNumber>;
    size: zod.ZodOptional<zod.ZodNumber>;
    q: zod.ZodOptional<zod.ZodString>;
    sort: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    id: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    viaId: zod.ZodOptional<zod.ZodString>;
    viaType: zod.ZodOptional<zod.ZodString>;
    viaName: zod.ZodOptional<zod.ZodString>;
    peerId: zod.ZodOptional<zod.ZodString>;
    peerType: zod.ZodOptional<zod.ZodString>;
    peerName: zod.ZodOptional<zod.ZodString>;
    dateSince: zod.ZodOptional<zod.ZodString>;
    dateUntil: zod.ZodOptional<zod.ZodString>;
    online: zod.ZodOptional<zod.ZodBoolean>;
    groupString: zod.ZodOptional<zod.ZodString>;
}, zod.z.core.$strip>;
export declare const catalogGetDialogsResponseDataItemMessageKeyboardButtonsItemRowItemShareDefault = "phone";
export declare const CatalogGetDialogsResponse: zod.ZodObject<{
    data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        closed: zod.ZodOptional<zod.ZodString>;
        closedCause: zod.ZodOptional<zod.ZodString>;
        context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
        date: zod.ZodOptional<zod.ZodString>;
        dc: zod.ZodOptional<zod.ZodString>;
        from: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        id: zod.ZodOptional<zod.ZodString>;
        members: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
            context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            dc: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            invite: zod.ZodOptional<zod.ZodObject<{
                date: zod.ZodOptional<zod.ZodString>;
                from: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            join: zod.ZodOptional<zod.ZodString>;
            left: zod.ZodOptional<zod.ZodString>;
            peer: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            queue: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            title: zod.ZodOptional<zod.ZodString>;
            via: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
        }, zod.z.core.$strip>>>;
        message: zod.ZodOptional<zod.ZodObject<{
            chat: zod.ZodOptional<zod.ZodObject<{
                context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                dc: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                invite: zod.ZodOptional<zod.ZodObject<{
                    date: zod.ZodOptional<zod.ZodString>;
                    from: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                join: zod.ZodOptional<zod.ZodString>;
                left: zod.ZodOptional<zod.ZodString>;
                peer: zod.ZodOptional<zod.ZodObject<{
                    id: zod.ZodOptional<zod.ZodString>;
                    name: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                queue: zod.ZodOptional<zod.ZodObject<{
                    id: zod.ZodOptional<zod.ZodString>;
                    name: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                title: zod.ZodOptional<zod.ZodString>;
                via: zod.ZodOptional<zod.ZodObject<{
                    id: zod.ZodOptional<zod.ZodString>;
                    name: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
            }, zod.z.core.$strip>>;
            context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            date: zod.ZodOptional<zod.ZodString>;
            edit: zod.ZodOptional<zod.ZodString>;
            file: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                size: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
                url: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            from: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            id: zod.ZodOptional<zod.ZodString>;
            keyboard: zod.ZodOptional<zod.ZodObject<{
                buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    row: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                        code: zod.ZodOptional<zod.ZodString>;
                        share: zod.ZodDefault<zod.ZodEnum<{
                            email: "email";
                            phone: "phone";
                            contact: "contact";
                            location: "location";
                        }>>;
                        text: zod.ZodOptional<zod.ZodString>;
                        url: zod.ZodOptional<zod.ZodString>;
                    }, zod.z.core.$strip>>>;
                }, zod.z.core.$strip>>>;
                noInput: zod.ZodOptional<zod.ZodBoolean>;
            }, zod.z.core.$strip>>;
            kind: zod.ZodOptional<zod.ZodString>;
            postback: zod.ZodOptional<zod.ZodObject<{
                code: zod.ZodOptional<zod.ZodString>;
                mid: zod.ZodOptional<zod.ZodString>;
                text: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            sender: zod.ZodOptional<zod.ZodObject<{
                context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
                dc: zod.ZodOptional<zod.ZodString>;
                id: zod.ZodOptional<zod.ZodString>;
                invite: zod.ZodOptional<zod.ZodObject<{
                    date: zod.ZodOptional<zod.ZodString>;
                    from: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                join: zod.ZodOptional<zod.ZodString>;
                left: zod.ZodOptional<zod.ZodString>;
                peer: zod.ZodOptional<zod.ZodObject<{
                    id: zod.ZodOptional<zod.ZodString>;
                    name: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                queue: zod.ZodOptional<zod.ZodObject<{
                    id: zod.ZodOptional<zod.ZodString>;
                    name: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
                title: zod.ZodOptional<zod.ZodString>;
                via: zod.ZodOptional<zod.ZodObject<{
                    id: zod.ZodOptional<zod.ZodString>;
                    name: zod.ZodOptional<zod.ZodString>;
                    type: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>;
            }, zod.z.core.$strip>>;
            text: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        queue: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        started: zod.ZodOptional<zod.ZodString>;
        title: zod.ZodOptional<zod.ZodString>;
        via: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
    }, zod.z.core.$strip>>>;
    next: zod.ZodOptional<zod.ZodBoolean>;
    page: zod.ZodOptional<zod.ZodNumber>;
}, zod.z.core.$strip>;
/**
 * @summary Query of chat participants
 */
export declare const CatalogGetMembersParams: zod.ZodObject<{
    chat_id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const CatalogGetMembersQueryParams: zod.ZodObject<{
    page: zod.ZodOptional<zod.ZodNumber>;
    size: zod.ZodOptional<zod.ZodNumber>;
    q: zod.ZodOptional<zod.ZodString>;
    sort: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    id: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    viaId: zod.ZodOptional<zod.ZodString>;
    viaType: zod.ZodOptional<zod.ZodString>;
    viaName: zod.ZodOptional<zod.ZodString>;
    peerId: zod.ZodOptional<zod.ZodString>;
    peerType: zod.ZodOptional<zod.ZodString>;
    peerName: zod.ZodOptional<zod.ZodString>;
    dateSince: zod.ZodOptional<zod.ZodString>;
    dateUntil: zod.ZodOptional<zod.ZodString>;
    online: zod.ZodOptional<zod.ZodBoolean>;
    joined: zod.ZodOptional<zod.ZodBoolean>;
}, zod.z.core.$strip>;
export declare const CatalogGetMembersResponse: zod.ZodObject<{
    data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
        dc: zod.ZodOptional<zod.ZodString>;
        id: zod.ZodOptional<zod.ZodString>;
        invite: zod.ZodOptional<zod.ZodObject<{
            date: zod.ZodOptional<zod.ZodString>;
            from: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        join: zod.ZodOptional<zod.ZodString>;
        left: zod.ZodOptional<zod.ZodString>;
        peer: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        queue: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        title: zod.ZodOptional<zod.ZodString>;
        via: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
    }, zod.z.core.$strip>>>;
    next: zod.ZodOptional<zod.ZodBoolean>;
    page: zod.ZodOptional<zod.ZodNumber>;
}, zod.z.core.$strip>;
/**
 * @summary Query of the chat history
 */
export declare const CatalogGetHistoryParams: zod.ZodObject<{
    chat_id: zod.ZodString;
}, zod.z.core.$strip>;
export declare const CatalogGetHistoryQueryParams: zod.ZodObject<{
    offsetId: zod.ZodOptional<zod.ZodString>;
    offsetDate: zod.ZodOptional<zod.ZodString>;
    limit: zod.ZodOptional<zod.ZodNumber>;
    q: zod.ZodOptional<zod.ZodString>;
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    peerId: zod.ZodOptional<zod.ZodString>;
    peerType: zod.ZodOptional<zod.ZodString>;
    peerName: zod.ZodOptional<zod.ZodString>;
    groupString: zod.ZodOptional<zod.ZodString>;
}, zod.z.core.$strip>;
export declare const catalogGetHistoryResponseMessagesItemKeyboardButtonsItemRowItemShareDefault = "phone";
export declare const CatalogGetHistoryResponse: zod.ZodObject<{
    chats: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
        dc: zod.ZodOptional<zod.ZodString>;
        id: zod.ZodOptional<zod.ZodString>;
        invite: zod.ZodOptional<zod.ZodObject<{
            date: zod.ZodOptional<zod.ZodString>;
            from: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        join: zod.ZodOptional<zod.ZodString>;
        left: zod.ZodOptional<zod.ZodString>;
        peer: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        queue: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        title: zod.ZodOptional<zod.ZodString>;
        via: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
    }, zod.z.core.$strip>>>;
    messages: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        chat: zod.ZodOptional<zod.ZodObject<{
            context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            dc: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            invite: zod.ZodOptional<zod.ZodObject<{
                date: zod.ZodOptional<zod.ZodString>;
                from: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            join: zod.ZodOptional<zod.ZodString>;
            left: zod.ZodOptional<zod.ZodString>;
            peer: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            queue: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            title: zod.ZodOptional<zod.ZodString>;
            via: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
        }, zod.z.core.$strip>>;
        context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
        date: zod.ZodOptional<zod.ZodString>;
        edit: zod.ZodOptional<zod.ZodString>;
        file: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            size: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
            url: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        from: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        id: zod.ZodOptional<zod.ZodString>;
        keyboard: zod.ZodOptional<zod.ZodObject<{
            buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                row: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    code: zod.ZodOptional<zod.ZodString>;
                    share: zod.ZodDefault<zod.ZodEnum<{
                        email: "email";
                        phone: "phone";
                        contact: "contact";
                        location: "location";
                    }>>;
                    text: zod.ZodOptional<zod.ZodString>;
                    url: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>>;
            noInput: zod.ZodOptional<zod.ZodBoolean>;
        }, zod.z.core.$strip>>;
        kind: zod.ZodOptional<zod.ZodString>;
        postback: zod.ZodOptional<zod.ZodObject<{
            code: zod.ZodOptional<zod.ZodString>;
            mid: zod.ZodOptional<zod.ZodString>;
            text: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        sender: zod.ZodOptional<zod.ZodObject<{
            context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            dc: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            invite: zod.ZodOptional<zod.ZodObject<{
                date: zod.ZodOptional<zod.ZodString>;
                from: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            join: zod.ZodOptional<zod.ZodString>;
            left: zod.ZodOptional<zod.ZodString>;
            peer: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            queue: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            title: zod.ZodOptional<zod.ZodString>;
            via: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
        }, zod.z.core.$strip>>;
        text: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>>;
    next: zod.ZodOptional<zod.ZodBoolean>;
    page: zod.ZodOptional<zod.ZodNumber>;
    peers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        id: zod.ZodOptional<zod.ZodString>;
        name: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>>;
}, zod.z.core.$strip>;
/**
 * @summary Query of the chat history
 */
export declare const CatalogGetHistory2Params: zod.ZodObject<{
    'peer.type': zod.ZodString;
    'peer.id': zod.ZodString;
}, zod.z.core.$strip>;
export declare const CatalogGetHistory2QueryParams: zod.ZodObject<{
    offsetId: zod.ZodOptional<zod.ZodString>;
    offsetDate: zod.ZodOptional<zod.ZodString>;
    limit: zod.ZodOptional<zod.ZodNumber>;
    q: zod.ZodOptional<zod.ZodString>;
    fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
    chatId: zod.ZodOptional<zod.ZodString>;
    peerName: zod.ZodOptional<zod.ZodString>;
    groupStringString: zod.ZodOptional<zod.ZodString>;
}, zod.z.core.$strip>;
export declare const catalogGetHistory2ResponseMessagesItemKeyboardButtonsItemRowItemShareDefault = "phone";
export declare const CatalogGetHistory2Response: zod.ZodObject<{
    chats: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
        dc: zod.ZodOptional<zod.ZodString>;
        id: zod.ZodOptional<zod.ZodString>;
        invite: zod.ZodOptional<zod.ZodObject<{
            date: zod.ZodOptional<zod.ZodString>;
            from: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        join: zod.ZodOptional<zod.ZodString>;
        left: zod.ZodOptional<zod.ZodString>;
        peer: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        queue: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        title: zod.ZodOptional<zod.ZodString>;
        via: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
    }, zod.z.core.$strip>>>;
    messages: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        chat: zod.ZodOptional<zod.ZodObject<{
            context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            dc: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            invite: zod.ZodOptional<zod.ZodObject<{
                date: zod.ZodOptional<zod.ZodString>;
                from: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            join: zod.ZodOptional<zod.ZodString>;
            left: zod.ZodOptional<zod.ZodString>;
            peer: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            queue: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            title: zod.ZodOptional<zod.ZodString>;
            via: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
        }, zod.z.core.$strip>>;
        context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
        date: zod.ZodOptional<zod.ZodString>;
        edit: zod.ZodOptional<zod.ZodString>;
        file: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            size: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
            url: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        from: zod.ZodOptional<zod.ZodObject<{
            id: zod.ZodOptional<zod.ZodString>;
            name: zod.ZodOptional<zod.ZodString>;
            type: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        id: zod.ZodOptional<zod.ZodString>;
        keyboard: zod.ZodOptional<zod.ZodObject<{
            buttons: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                row: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
                    code: zod.ZodOptional<zod.ZodString>;
                    share: zod.ZodDefault<zod.ZodEnum<{
                        email: "email";
                        phone: "phone";
                        contact: "contact";
                        location: "location";
                    }>>;
                    text: zod.ZodOptional<zod.ZodString>;
                    url: zod.ZodOptional<zod.ZodString>;
                }, zod.z.core.$strip>>>;
            }, zod.z.core.$strip>>>;
            noInput: zod.ZodOptional<zod.ZodBoolean>;
        }, zod.z.core.$strip>>;
        kind: zod.ZodOptional<zod.ZodString>;
        postback: zod.ZodOptional<zod.ZodObject<{
            code: zod.ZodOptional<zod.ZodString>;
            mid: zod.ZodOptional<zod.ZodString>;
            text: zod.ZodOptional<zod.ZodString>;
        }, zod.z.core.$strip>>;
        sender: zod.ZodOptional<zod.ZodObject<{
            context: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
            dc: zod.ZodOptional<zod.ZodString>;
            id: zod.ZodOptional<zod.ZodString>;
            invite: zod.ZodOptional<zod.ZodObject<{
                date: zod.ZodOptional<zod.ZodString>;
                from: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            join: zod.ZodOptional<zod.ZodString>;
            left: zod.ZodOptional<zod.ZodString>;
            peer: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            queue: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
            title: zod.ZodOptional<zod.ZodString>;
            via: zod.ZodOptional<zod.ZodObject<{
                id: zod.ZodOptional<zod.ZodString>;
                name: zod.ZodOptional<zod.ZodString>;
                type: zod.ZodOptional<zod.ZodString>;
            }, zod.z.core.$strip>>;
        }, zod.z.core.$strip>>;
        text: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>>;
    next: zod.ZodOptional<zod.ZodBoolean>;
    page: zod.ZodOptional<zod.ZodNumber>;
    peers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
        id: zod.ZodOptional<zod.ZodString>;
        name: zod.ZodOptional<zod.ZodString>;
        type: zod.ZodOptional<zod.ZodString>;
    }, zod.z.core.$strip>>>;
}, zod.z.core.$strip>;
