import { type CallParams } from './schemas/call'; /** * Makes an asynchronous call to a canister on the Internet Computer. * * This function encodes the provided arguments using Candid, performs the canister call, * and decodes the response based on the expected result types. * * @template T - The expected return type of the canister call. * @param {CallParams} params - The parameters required for the canister call * @returns {Promise} A promise resolving to the decoded result of the call. * Returns `undefined` if the canister response is empty. * @throws {ZodError} If the provided parameters do not match the expected schema. * @throws {Error} If the canister call fails. */ export declare const call: (params: CallParams) => Promise;