import * as types from "../core/types/index"; import { ApiClient } from "./api.service"; export declare class Models { private readonly apiClient; constructor(apiClient: ApiClient); /** * Makes an API request to generate content with a given model. */ generateContent(options: types.GenerateContentOption): Promise; /** * Makes an API request to generate content with a given model and yields the response in chunks. */ generateContentStream(params: any): Promise>; /** * Generates an image based on a text description and configuration. */ generateImages(params: any): Promise; /** * Lists available models. */ list(params?: any): Promise; /** * Edits an image based on a prompt, list of reference images, and configuration. */ editImage(params: any): Promise; /** * Upscales an image based on an image, upscale factor, and configuration. */ upscaleImage(params: any): Promise; /** * Generates videos based on a text description and configuration. */ generateVideos(params: any): Promise; /** * Calculates embeddings for the given contents. Only text is supported. */ embedContent(params: any): Promise; /** * Recontextualizes an image. */ recontextImage(params: any): Promise; /** * Segments an image, creating a mask of a specified area. */ segmentImage(params: any): Promise; /** * Fetches information about a model by name. */ get(params: any): Promise; /** * Updates a tuned model by its name. */ update(params: any): Promise; /** * Deletes a tuned model by its name. */ delete(params: any): Promise; /** * Counts the number of tokens in the given contents. */ countTokens(params: any): Promise; /** * Given a list of contents, returns a corresponding TokensInfo containing the list of tokens and list of token ids. */ computeTokens(params: any): Promise; } //# sourceMappingURL=models.service.d.ts.map