UNPKG

buroventures-harald-code-core

Version:

Harald Code Core - Core functionality for AI-powered coding assistant

15 lines (14 loc) 933 B
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { GenerateContentResponse, Part, FunctionCall } from '@google/genai'; export declare function getResponseText(response: GenerateContentResponse): string | undefined; export declare function getResponseTextFromParts(parts: Part[]): string | undefined; export declare function getFunctionCalls(response: GenerateContentResponse): FunctionCall[] | undefined; export declare function getFunctionCallsFromParts(parts: Part[]): FunctionCall[] | undefined; export declare function getFunctionCallsAsJson(response: GenerateContentResponse): string | undefined; export declare function getFunctionCallsFromPartsAsJson(parts: Part[]): string | undefined; export declare function getStructuredResponse(response: GenerateContentResponse): string | undefined; export declare function getStructuredResponseFromParts(parts: Part[]): string | undefined;