UNPKG

@langchain/core

Version:
14 lines • 509 B
import { BaseTransformOutputParser } from "./transform.cjs"; /** * OutputParser that parses LLMResult into the top likely string and * encodes it into bytes. */ export declare class BytesOutputParser extends BaseTransformOutputParser<Uint8Array> { static lc_name(): string; lc_namespace: string[]; lc_serializable: boolean; protected textEncoder: InstanceType<typeof TextEncoder>; parse(text: string): Promise<Uint8Array>; getFormatInstructions(): string; } //# sourceMappingURL=bytes.d.cts.map