export function isAgentFileUpload(value) {
    if (!value || typeof value !== 'object')
        return false;
    const u = value;
    if (u.fileId !== undefined && typeof u.fileId !== 'string')
        return false;
    if (typeof u.mimeType !== 'string')
        return false;
    if (typeof u.name !== 'string')
        return false;
    if (u.storageName !== undefined && typeof u.storageName !== 'string')
        return false;
    if (u.fileSize !== undefined && typeof u.fileSize !== 'number')
        return false;
    if (u.attachmentId !== undefined && typeof u.attachmentId !== 'string')
        return false;
    return true;
}
//# sourceMappingURL=agent-uploads.js.map