import { Fetch, FunctionsResponse, FunctionInvokeOptions } from './types'; export declare class FunctionsClient { protected url: string; protected headers: Record; protected fetch: Fetch; constructor(url: string, { headers, customFetch, }?: { headers?: Record; customFetch?: Fetch; }); /** * Updates the authorization header * @param token - the new jwt token sent in the authorisation header */ setAuth(token: string): void; /** * Invokes a function * @param functionName - the name of the function to invoke */ invoke(functionName: string, invokeOptions?: FunctionInvokeOptions): Promise>; } //# sourceMappingURL=FunctionsClient.d.ts.map