import { type LogMetadata, type JSONish, type LogMetadataFull } from '@knapsack/logger/cjs';
type Extra = JSONish | string | Error;
export declare const updateLogMetadata: (metadata: LogMetadata) => void;
export declare function reportError(err: Error, extraData?: Record<string, unknown>): void;
export declare function reportToDatadog(ddData: LogMetadataFull): void;
declare function error(err: string | Error, extra?: Extra, prefix?: string): void;
declare function info(msg: string, extra?: Extra, prefix?: string): void;
declare function warn(msg: string, extra?: Extra, prefix?: string): void;
declare function verbose(msg: string, extra?: Extra, prefix?: string): void;
/**
 * Log deeply nested object
 */
declare function inspect(obj: Record<string, unknown>, name?: string, depth?: number): void;
export declare function setLogVerbose(isVerbose: boolean): void;
export declare const log: {
    info: typeof info;
    warn: typeof warn;
    error: typeof error;
    verbose: typeof verbose;
    inspect: typeof inspect;
};
export declare function setupUpdateNotifier(pkg: {
    name: string;
    version: string;
}): void;
export {};
//# sourceMappingURL=log.d.ts.map