import type { Tool } from "../tool";
export type MaybePromise<T> = T | Promise<T>;
export type ResourceCompletionResult = {
    values: string[];
    total: number;
    hasMore: boolean;
};
export type ResourceCompletionResultLike = string[] | ResourceCompletionResult;
export declare function isPlainObject(value: any): value is object;
export declare function callTool(tool: Tool, params: any, opts?: {
    context?: any;
    request?: Request;
}): Promise<any>;
