/** * Returns a JSON.stringify replacer for outgoing log payloads: it skips * circular references and serializes Error instances, whose own fields are not * enumerable and would otherwise be sent as `{}`. * * Errors are shaped like CustomError.toJSON (`error` holds the message) so a * plain Error and a DynamicError land on the same log attributes. */ export declare const createLogPayloadReplacer: () => (this: Record, key: string, value: unknown) => unknown;