UNPKG

@openai/agents-core

Version:

The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.

7 lines (6 loc) • 538 B
import type { ToolOutputImage } from '../../types/protocol'; export declare const MAX_VIEW_IMAGE_BYTES: number; export declare function assertViewImageByteLength(path: string, byteLength: number): void; export declare function imageOutputFromBytes(path: string, bytes: Uint8Array): ToolOutputImage; export declare function sniffImageMediaType(bytes: Uint8Array, path?: string): string | null; export declare function toUint8Array(value: Blob | Uint8Array | ArrayBuffer | ArrayBufferView | string | null | undefined): Promise<Uint8Array>;