import { InvocationContext, HttpRequest, HttpResponseInit } from '@azure/functions'; /** * Wraps a non-HTTP trigger Azure Function with correlation context to enable auto telemetry/log tracing. * Uses the Function name as the operation name. * * @param fn non-HTTP trigger function e.g. timer/queue trigger * @param context function context * @param args any extra args to pass to the function invocation */ export declare const nonHttpTriggerContextWrapper: (fn: Function, context: InvocationContext, ...args: unknown[]) => Promise; /** * Wraps an HTTP trigger Azure Function with correlation context to enable auto telemetry/log tracing. * Uses the HTTP request to generate the operation name. * * @param fn HTTP trigger function * @param context function context * @param req HTTP request object */ export declare const httpTriggerContextWrapper: (fn: Function, context: InvocationContext, req: HttpRequest) => Promise;