import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Files, Files$Outbound } from "./files.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type FileResult = {
    data: Files;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const FileResult$inboundSchema: z.ZodType<FileResult, z.ZodTypeDef, unknown>;
/** @internal */
export type FileResult$Outbound = {
    data: Files$Outbound;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const FileResult$outboundSchema: z.ZodType<FileResult$Outbound, z.ZodTypeDef, FileResult>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace FileResult$ {
    /** @deprecated use `FileResult$inboundSchema` instead. */
    const inboundSchema: z.ZodType<FileResult, z.ZodTypeDef, unknown>;
    /** @deprecated use `FileResult$outboundSchema` instead. */
    const outboundSchema: z.ZodType<FileResult$Outbound, z.ZodTypeDef, FileResult>;
    /** @deprecated use `FileResult$Outbound` instead. */
    type Outbound = FileResult$Outbound;
}
export declare function fileResultToJSON(fileResult: FileResult): string;
export declare function fileResultFromJSON(jsonString: string): SafeParseResult<FileResult, SDKValidationError>;
//# sourceMappingURL=fileresult.d.ts.map