import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as AthenaIntelligence from "../../../index.js"; import { Calendar } from "../resources/calendar/client/Client.js"; import { Email } from "../resources/email/client/Client.js"; import { Sheets } from "../resources/sheets/client/Client.js"; import { StructuredDataExtractor } from "../resources/structuredDataExtractor/client/Client.js"; import { Tasks } from "../resources/tasks/client/Client.js"; export declare namespace Tools { interface Options extends BaseClientOptions { } interface RequestOptions extends BaseRequestOptions { } } export declare class Tools { protected readonly _options: Tools.Options; protected _calendar: Calendar | undefined; protected _email: Email | undefined; protected _sheets: Sheets | undefined; protected _structuredDataExtractor: StructuredDataExtractor | undefined; protected _tasks: Tasks | undefined; constructor(_options: Tools.Options); get calendar(): Calendar; get email(): Email; get sheets(): Sheets; get structuredDataExtractor(): StructuredDataExtractor; get tasks(): Tasks; /** * Get the chunks of a file. * * @param {AthenaIntelligence.FileChunkRequestIn} request * @param {Tools.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link AthenaIntelligence.UnauthorizedError} * @throws {@link AthenaIntelligence.NotFoundError} * @throws {@link AthenaIntelligence.UnprocessableEntityError} * * @example * await client.tools.getAssetChunks({ * asset_ids: ["asset_9249292-d118-42d3-96b4-00eccfe0754f", "asset_9249292-d118-42d3-95b4-01eccfe0754f"] * }) */ getAssetChunks(request: AthenaIntelligence.FileChunkRequestIn, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise; private __getAssetChunks; /** * Get the content of an asset. * * @param {AthenaIntelligence.ToolsGetAssetContentRequest} request * @param {Tools.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link AthenaIntelligence.UnauthorizedError} * @throws {@link AthenaIntelligence.NotFoundError} * @throws {@link AthenaIntelligence.UnprocessableEntityError} * * @example * await client.tools.getAssetContent({ * asset_id: "asset_id" * }) */ getAssetContent(request: AthenaIntelligence.ToolsGetAssetContentRequest, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise; private __getAssetContent; /** * Get a screenshot of a specific page from an asset. * * @param {AthenaIntelligence.ToolsGetAssetScreenshotRequest} request * @param {Tools.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link AthenaIntelligence.UnauthorizedError} * @throws {@link AthenaIntelligence.NotFoundError} * @throws {@link AthenaIntelligence.UnprocessableEntityError} * @throws {@link AthenaIntelligence.InternalServerError} * * @example * await client.tools.getAssetScreenshot({ * asset_id: "asset_id", * page_number: 1 * }) */ getAssetScreenshot(request: AthenaIntelligence.ToolsGetAssetScreenshotRequest, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise; private __getAssetScreenshot; /** * List contents of an asset (Folder, Collection, Project) or entire workspace in a tree structure. * * @param {AthenaIntelligence.ToolsListContentsRequest} request * @param {Tools.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link AthenaIntelligence.BadRequestError} * @throws {@link AthenaIntelligence.UnauthorizedError} * @throws {@link AthenaIntelligence.NotFoundError} * @throws {@link AthenaIntelligence.UnprocessableEntityError} * * @example * await client.tools.listContents({ * asset_id: "asset_id", * folder_id: "folder_id", * include_asset_details: true, * include_system_files: true * }) */ listContents(request?: AthenaIntelligence.ToolsListContentsRequest, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise; private __listContents; /** * @param {AthenaIntelligence.ToolsDataFrameRequest} request * @param {Tools.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link AthenaIntelligence.UnauthorizedError} * @throws {@link AthenaIntelligence.NotFoundError} * @throws {@link AthenaIntelligence.UnsupportedMediaTypeError} * @throws {@link AthenaIntelligence.UnprocessableEntityError} * @throws {@link AthenaIntelligence.InternalServerError} * * @example * await client.tools.dataFrame({ * asset_id: "asset_id", * row_limit: 1, * index_column: 1, * sheet_name: "sheet_name", * separator: "separator" * }) */ dataFrame(request: AthenaIntelligence.ToolsDataFrameRequest, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise; private __dataFrame; /** * Get the raw file data for given asset. * @throws {@link AthenaIntelligence.UnauthorizedError} * @throws {@link AthenaIntelligence.NotFoundError} * @throws {@link AthenaIntelligence.UnprocessableEntityError} * @throws {@link AthenaIntelligence.InternalServerError} */ rawData(request: AthenaIntelligence.ToolsRawDataRequest, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise; private __rawData; /** * @param {AthenaIntelligence.BodySaveAssetApiV0ToolsFileSavePost} request * @param {Tools.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link AthenaIntelligence.BadRequestError} * @throws {@link AthenaIntelligence.ContentTooLargeError} * @throws {@link AthenaIntelligence.UnprocessableEntityError} * * @example * import { createReadStream } from "fs"; * await client.tools.saveAsset({ * file: fs.createReadStream("/path/to/your/file"), * parent_folder_id: "parent_folder_id" * }) */ saveAsset(request: AthenaIntelligence.BodySaveAssetApiV0ToolsFileSavePost, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise; private __saveAsset; protected _getCustomAuthorizationHeaders(): Promise>; }