import type { ErrorKind } from "@khanacademy/perseus-core";
import type { Metadata } from "@khanacademy/wonder-stuff-core";
export type LogErrorOptions = {
    cause?: Error | null | undefined;
    loggedMetadata?: Metadata | null | undefined;
    metadata?: Metadata | null | undefined;
};
/**
 * Provides logging infrastructure for Perseus
 */
export interface ILogger {
    log(message: string, extra?: Metadata | null | undefined): void;
    error(message: string, kind: ErrorKind, extra?: LogErrorOptions): void;
}
export declare const Log: ILogger;
