export interface ErrorContextData {
    correlationId?: string;
}
export declare function getCorrelationId(): string | undefined;
export declare function setCorrelationId(correlationId: string): void;
export declare function ensureCorrelationId(fallbackId?: string): string;
export declare function runWithCorrelationContext<T>(correlationId: string, fn: () => Promise<T> | T): Promise<T>;
type NormalizedError = Error & Record<string, any>;
export declare function ensureErrorWithCorrelation(error: unknown, fallbackId?: string): {
    error: NormalizedError;
    correlationId: string;
};
export {};
