import { Fetch, FunctionsResponse, FunctionInvokeOptions, FunctionRegion } from './types'; export declare class FunctionsClient { protected url: string; protected headers: Record; protected region: FunctionRegion; protected fetch: Fetch; constructor(url: string, { headers, customFetch, region, }?: { headers?: Record; customFetch?: Fetch; region?: FunctionRegion; }); /** * 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. * @param options - Options for invoking the Function. */ invoke(functionName: string, options?: FunctionInvokeOptions): Promise>; } //# sourceMappingURL=FunctionsClient.d.ts.map