import type { RawError } from '@datadog/browser-core';
import type { RawLoggerLogsEvent } from '../rawLogsEvent.types';
export declare function createErrorFieldFromRawError(rawError: RawError, { 
/**
 * Set this to `true` to include the error message in the error field. In most cases, the error
 * message is already included in the log message, so we don't need to include it again.
 */
includeMessage, }?: {
    includeMessage?: boolean | undefined;
}): NonNullable<RawLoggerLogsEvent['error']>;
