import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ChatFileFailureReason } from "./chatfilefailurereason.js"; import { ChatFileStatus } from "./chatfilestatus.js"; /** * Metadata of a file uploaded by a user for Chat. */ export type ChatFileMetadata = { /** * Current status of the file. */ status?: ChatFileStatus | undefined; /** * Upload time, in epoch seconds. */ uploadTime?: number | undefined; /** * Size of the processed file in bytes. */ processedSize?: number | undefined; /** * Reason for failed status. */ failureReason?: ChatFileFailureReason | undefined; /** * MIME type of the file. */ mimeType?: string | undefined; }; /** @internal */ export declare const ChatFileMetadata$inboundSchema: z.ZodType; /** @internal */ export type ChatFileMetadata$Outbound = { status?: string | undefined; uploadTime?: number | undefined; processedSize?: number | undefined; failureReason?: string | undefined; mimeType?: string | undefined; }; /** @internal */ export declare const ChatFileMetadata$outboundSchema: z.ZodType; export declare function chatFileMetadataToJSON(chatFileMetadata: ChatFileMetadata): string; export declare function chatFileMetadataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=chatfilemetadata.d.ts.map