import { ACIConfig } from './types/config'; import { AppsResource, AppConfigurationsResource, LinkedAccountsResource, FunctionsResource } from './resource'; import { FunctionDefinitionFormat } from './types/functions'; interface HandleFunctionCallParams { /** Name of the function to be called */ functionName: string; /** Dictionary containing all input arguments required to execute the specified function */ functionArguments: Record; /** Specifies with credentials of which linked account the function should be executed */ linkedAccountOwnerId?: string; /** @deprecated Use allowedOnly instead. If true, only returns enabled functions of apps that are allowed to be used by the agent/accessor */ allowedAppsOnly?: boolean; /** If true, only returns enabled functions of apps that are allowed to be used by the agent/accessor. If false, returns all functions of all apps. */ allowedOnly?: boolean; /** Format of the function definition to return */ format?: FunctionDefinitionFormat; } export declare class ACI { private client; private config; readonly apps: AppsResource; readonly appConfigurations: AppConfigurationsResource; readonly linkedAccounts: LinkedAccountsResource; readonly functions: FunctionsResource; constructor(config: ACIConfig); private setupRetry; /** * Routes and executes function calls based on the function name. * This is a convenience function to handle function calls from LLM without checking the function name. * * It supports handling built-in meta functions (ACI_SEARCH_FUNCTIONS, ACI_EXECUTE_FUNCTION) and also handling * executing third-party functions directly. * * @param {HandleFunctionCallParams} params * @returns The result of the function execution (varies based on the function) */ handleFunctionCall(params: HandleFunctionCallParams): Promise; } export {};