import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ChatFileMetadata, ChatFileMetadata$Outbound } from "./chatfilemetadata.js"; /** * Structure for file uploaded by a user for Chat. */ export type ChatFile = { /** * Unique identifier of the file. */ id?: string | undefined; /** * Url of the file. */ url?: string | undefined; /** * Name of the uploaded file. */ name?: string | undefined; /** * Metadata of a file uploaded by a user for Chat. */ metadata?: ChatFileMetadata | undefined; }; /** @internal */ export declare const ChatFile$inboundSchema: z.ZodType; /** @internal */ export type ChatFile$Outbound = { id?: string | undefined; url?: string | undefined; name?: string | undefined; metadata?: ChatFileMetadata$Outbound | undefined; }; /** @internal */ export declare const ChatFile$outboundSchema: z.ZodType; export declare function chatFileToJSON(chatFile: ChatFile): string; export declare function chatFileFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=chatfile.d.ts.map