arcananex-synapse
Version:
Agentic AI framework
13 lines • 690 B
TypeScript
export declare const parseResponse: (response: BedrockResponse) => Promise<string>;
export declare const cleanJsonEnclosure: (str: string) => string;
export declare const cleanMarkdownEnclosure: (str: string) => string;
export declare const isValidJsonObject: (obj: any) => boolean;
export declare function cleanAndParseJSON(input: string): any;
export declare const getMessageText: (message: any) => any;
export declare const extractMarkdownContent: (input: string) => string;
export declare function extractJsonContent(input: string): string;
export interface BedrockResponse {
body?: AsyncIterable<Uint8Array>;
[key: string]: any;
}
//# sourceMappingURL=bedrock-response.d.ts.map