import { Flow } from '@imtbl/metrics';
export declare const withMetrics: <T>(fn: (flow: Flow) => T, flowName: string) => T;
export declare const withMetricsAsync: <T>(fn: (flow: Flow) => Promise<T>, flowName: string, anonymousId?: string, errorType?: (error: any) => string) => Promise<T>;
