This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@mistralai/mistralai/models/components/prediction.d.ts
T

31 lines
1.4 KiB
TypeScript

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