UNPKG

@mastra/core

Version:

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

17 lines (16 loc) 543 B
import { z } from 'zod'; /** Data content. Can either be a base64-encoded string, a Uint8Array, an ArrayBuffer, or a Buffer. */ export type DataContent = string | Uint8Array | ArrayBuffer | Buffer; /** @internal */ export declare const dataContentSchema: z.ZodType<DataContent>; /** Converts data content to a base64-encoded string. @param content - Data content to convert. @returns Base64-encoded string. */ export declare function convertDataContentToBase64String(content: DataContent): string; //# sourceMappingURL=data-content.d.ts.map