import { IEvaServiceDefinition } from "@springtree/eva-services-core"; import { EvaService, IEvaServiceCallOptions } from "./service.js"; export { type IJwtTokenRefresh } from "./context/user.js"; export declare class EvaEndpoint { /** * The endpoint URL for the EVA backend * * @type {string} */ readonly endPointUri: string; /** * Creates an instance of EvaEndpoint * * @param {string} endPointUri The uri for the EVA endpoint */ constructor(endPointUri: string); /** * Prepare to call the EVA backend with an instance of the EvaService class * * @template T * @param {new () => T} serviceDefinition * @returns EvaService */ prepareService(serviceDefinition: new () => T): EvaService; /** * Calls an EVA service on the endpoint * * @template T * @param {new () => T} serviceDefinition * @param {T['request']} [payload] * @param {IEvaServiceCallOptions} [options] * @returns {Promise} */ callService(serviceDefinition: new () => T, payload?: T["request"], options?: IEvaServiceCallOptions): Promise; } //# sourceMappingURL=endpoint.d.ts.map