import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type FileGetRequest = {
    /**
     * The ID of the file
     */
    fileId: string;
};
/**
 * The intended purpose of the uploaded file.
 */
export declare const FileGetPurpose: {
    readonly Retrieval: "retrieval";
    readonly KnowledgeDatasource: "knowledge_datasource";
    readonly Batch: "batch";
};
/**
 * The intended purpose of the uploaded file.
 */
export type FileGetPurpose = ClosedEnum<typeof FileGetPurpose>;
/**
 * File details retrieved successfully
 */
export type FileGetResponseBody = {
    id: string;
    /**
     * path to the file in the storage
     */
    objectName: string;
    /**
     * The intended purpose of the uploaded file.
     */
    purpose: FileGetPurpose;
    bytes: number;
    fileName: string;
    /**
     * The id of the resource
     */
    workspaceId: string;
    /**
     * The date and time the resource was created
     */
    created?: Date | undefined;
};
/** @internal */
export declare const FileGetRequest$inboundSchema: z.ZodType<FileGetRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type FileGetRequest$Outbound = {
    file_id: string;
};
/** @internal */
export declare const FileGetRequest$outboundSchema: z.ZodType<FileGetRequest$Outbound, z.ZodTypeDef, FileGetRequest>;
export declare function fileGetRequestToJSON(fileGetRequest: FileGetRequest): string;
export declare function fileGetRequestFromJSON(jsonString: string): SafeParseResult<FileGetRequest, SDKValidationError>;
/** @internal */
export declare const FileGetPurpose$inboundSchema: z.ZodNativeEnum<typeof FileGetPurpose>;
/** @internal */
export declare const FileGetPurpose$outboundSchema: z.ZodNativeEnum<typeof FileGetPurpose>;
/** @internal */
export declare const FileGetResponseBody$inboundSchema: z.ZodType<FileGetResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type FileGetResponseBody$Outbound = {
    _id: string;
    object_name: string;
    purpose: string;
    bytes: number;
    file_name: string;
    workspace_id: string;
    created: string;
};
/** @internal */
export declare const FileGetResponseBody$outboundSchema: z.ZodType<FileGetResponseBody$Outbound, z.ZodTypeDef, FileGetResponseBody>;
export declare function fileGetResponseBodyToJSON(fileGetResponseBody: FileGetResponseBody): string;
export declare function fileGetResponseBodyFromJSON(jsonString: string): SafeParseResult<FileGetResponseBody, SDKValidationError>;
//# sourceMappingURL=fileget.d.ts.map