export type TaskCredentials = { appId: string; apiKey: string; agentId: string; }; export type TaskPrepareRequest = (body: Record) => { body: Record; }; export type TaskTransport = { api: string; headers?: Record; fetch?: typeof fetch; prepareSendMessagesRequest?: TaskPrepareRequest; }; export type TaskEndpoint = { transport: TaskTransport; credentials?: never; } | { transport?: never; credentials: TaskCredentials; }; export type ResolvedEndpoint = { endpoint: string; headers: Record; fetch?: typeof fetch; prepareSendMessagesRequest?: TaskPrepareRequest; }; export declare function resolveEndpoint(params: { transport?: TaskTransport; appId?: string; apiKey?: string; agentId?: string; algoliaAgent?: string; }): ResolvedEndpoint;