/** Web chat: max files per user message (keep in sync with `web` MAX_CHAT_ATTACHMENTS). */ export declare const MAX_CHAT_ATTACHMENTS = 10; /** Inline chat text stays bounded; larger content belongs in an attachment. */ export declare const MAX_CHAT_INLINE_TEXT_BYTES: number; /** * Max raw bytes per attachment in web chat (keep in sync with `web` MAX_WEBCHAT_ATTACHMENT_FILE_BYTES). * JSON requests send base64 (`data`); gateway body limit must allow worst-case payload. */ export declare const MAX_WEBCHAT_ATTACHMENT_FILE_BYTES: number; /** Max raw bytes per note media upload (`POST /api/notes/:id/media` and multipart `POST /api/notes`). */ export declare const MAX_NOTE_MEDIA_FILE_BYTES: number; /** Max raw bytes per workspace file-space upload (`POST /api/files/spaces/:id/upload`). */ export declare const MAX_FILE_SPACE_UPLOAD_BYTES: number; export declare function validateWebchatAttachments(attachments: unknown[] | undefined): string | null; export declare function validateWebchatContent(content: unknown): string | null; /** Upper bound for a session input request when every attachment is encoded as base64. */ export declare function maxSessionInputRequestBodyBytes(): number;