import { ContextKey } from './constants'; type Executor, FunctionReturn extends Promise> = (...args: FunctionArgs) => FunctionReturn; export declare function elapsedTimeMs(since: number, precision?: number): string; /** * Creates a logging context available to all logic run inside the callback */ export declare const withLoggingContext: (executor: () => T, getRequestContext?: () => Partial> | undefined) => Promise; /** * @deprecated use withLoggingContext() instead */ export declare const withAsyncLoggingContext: (executor: () => Promise) => Promise>; export declare const isString: (value: unknown) => value is string; export declare const withParamsLogging: >(executor: Executor, opts?: { executorName?: string; }) => Executor; export declare const withTelemetryLogging: >(executor: Executor, opts?: { executorName?: string; disableParamsLogging?: boolean; }) => Executor; export declare const resolveValue: (arg: unknown) => unknown; export declare const transformArgument: (arg: unknown, level: number) => unknown; export declare const getIpAddress: (ip?: string) => string; export {};