import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FilePurpose } from "./filepurpose.js"; import { FileVisibility } from "./filevisibility.js"; import { SampleType } from "./sampletype.js"; import { Source } from "./source.js"; export type CreateFileResponse = { /** * The unique identifier of the file. */ id: string; /** * The object type, which is always "file". */ object: string; /** * The size of the file, in bytes. */ sizeBytes: number; /** * The UNIX timestamp (in seconds) of the event. */ createdAt: number; /** * The name of the uploaded file. */ filename: string; purpose: FilePurpose; sampleType: SampleType; numLines?: number | null | undefined; mimetype?: string | null | undefined; source: Source; signature?: string | null | undefined; expiresAt?: number | null | undefined; visibility?: FileVisibility | null | undefined; }; /** @internal */ export declare const CreateFileResponse$inboundSchema: z.ZodType; export declare function createFileResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createfileresponse.d.ts.map