@openai/agents-core
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
9 lines (8 loc) • 335 B
TypeScript
/**
* Encode a Uint8Array into a base64 string in both Node and browser environments.
*/
export declare function encodeUint8ArrayToBase64(data: Uint8Array): string;
/**
* Decode a base64 string into a Uint8Array in both Node and browser environments.
*/
export declare function decodeBase64ToUint8Array(value: string): Uint8Array;