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/referencechunk.d.ts
T

54 lines
2.4 KiB
TypeScript

import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare const ReferenceChunkType: {
readonly Reference: "reference";
};
export type ReferenceChunkType = ClosedEnum<typeof ReferenceChunkType>;
export type ReferenceChunk = {
referenceIds: Array<number>;
type?: ReferenceChunkType | undefined;
};
/** @internal */
export declare const ReferenceChunkType$inboundSchema: z.ZodNativeEnum<typeof ReferenceChunkType>;
/** @internal */
export declare const ReferenceChunkType$outboundSchema: z.ZodNativeEnum<typeof ReferenceChunkType>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace ReferenceChunkType$ {
/** @deprecated use `ReferenceChunkType$inboundSchema` instead. */
const inboundSchema: z.ZodNativeEnum<{
readonly Reference: "reference";
}>;
/** @deprecated use `ReferenceChunkType$outboundSchema` instead. */
const outboundSchema: z.ZodNativeEnum<{
readonly Reference: "reference";
}>;
}
/** @internal */
export declare const ReferenceChunk$inboundSchema: z.ZodType<ReferenceChunk, z.ZodTypeDef, unknown>;
/** @internal */
export type ReferenceChunk$Outbound = {
reference_ids: Array<number>;
type: string;
};
/** @internal */
export declare const ReferenceChunk$outboundSchema: z.ZodType<ReferenceChunk$Outbound, z.ZodTypeDef, ReferenceChunk>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace ReferenceChunk$ {
/** @deprecated use `ReferenceChunk$inboundSchema` instead. */
const inboundSchema: z.ZodType<ReferenceChunk, z.ZodTypeDef, unknown>;
/** @deprecated use `ReferenceChunk$outboundSchema` instead. */
const outboundSchema: z.ZodType<ReferenceChunk$Outbound, z.ZodTypeDef, ReferenceChunk>;
/** @deprecated use `ReferenceChunk$Outbound` instead. */
type Outbound = ReferenceChunk$Outbound;
}
export declare function referenceChunkToJSON(referenceChunk: ReferenceChunk): string;
export declare function referenceChunkFromJSON(jsonString: string): SafeParseResult<ReferenceChunk, SDKValidationError>;
//# sourceMappingURL=referencechunk.d.ts.map