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

37 lines
1.5 KiB
TypeScript

import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type OCRUsageInfo = {
/**
* Number of pages processed
*/
pagesProcessed: number;
/**
* Document size in bytes
*/
docSizeBytes?: number | null | undefined;
};
/** @internal */
export declare const OCRUsageInfo$inboundSchema: z.ZodType<OCRUsageInfo, z.ZodTypeDef, unknown>;
/** @internal */
export type OCRUsageInfo$Outbound = {
pages_processed: number;
doc_size_bytes?: number | null | undefined;
};
/** @internal */
export declare const OCRUsageInfo$outboundSchema: z.ZodType<OCRUsageInfo$Outbound, z.ZodTypeDef, OCRUsageInfo>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace OCRUsageInfo$ {
/** @deprecated use `OCRUsageInfo$inboundSchema` instead. */
const inboundSchema: z.ZodType<OCRUsageInfo, z.ZodTypeDef, unknown>;
/** @deprecated use `OCRUsageInfo$outboundSchema` instead. */
const outboundSchema: z.ZodType<OCRUsageInfo$Outbound, z.ZodTypeDef, OCRUsageInfo>;
/** @deprecated use `OCRUsageInfo$Outbound` instead. */
type Outbound = OCRUsageInfo$Outbound;
}
export declare function ocrUsageInfoToJSON(ocrUsageInfo: OCRUsageInfo): string;
export declare function ocrUsageInfoFromJSON(jsonString: string): SafeParseResult<OCRUsageInfo, SDKValidationError>;
//# sourceMappingURL=ocrusageinfo.d.ts.map