#ifndef CHROME_BROWSER_LENS_CORE_MOJOM_TEXT_MOJOM_H_
#define CHROME_BROWSER_LENS_CORE_MOJOM_TEXT_MOJOM_H_
#include <stdint.h>
#include <limits>
#include <optional>
#include <type_traits>
#include <utility>
#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "chrome/browser/lens/core/mojom/text.mojom-features.h"
#include "chrome/browser/lens/core/mojom/text.mojom-shared.h"
#include "chrome/browser/lens/core/mojom/text.mojom-forward.h"
#include "chrome/browser/lens/core/mojom/geometry.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "mojo/public/mojom/base/big_buffer.mojom.h"
#include "skia/public/mojom/skcolor.mojom.h"
#include <string>
#include <vector>
#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"
namespace lens::mojom {
class FormulaMetadata { … };
template <typename T, FormulaMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, FormulaMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, FormulaMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, FormulaMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Text { … };
template <typename T, Text::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Text::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Text::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Text::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class TextLayout { … };
template <typename T, TextLayout::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, TextLayout::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, TextLayout::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, TextLayout::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Word { … };
template <typename T, Word::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Word::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Word::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Word::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Line { … };
template <typename T, Line::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Line::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Line::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Line::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BackgroundImageData { … };
template <typename T, BackgroundImageData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, BackgroundImageData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, BackgroundImageData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, BackgroundImageData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class TranslatedLine { … };
template <typename T, TranslatedLine::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, TranslatedLine::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, TranslatedLine::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, TranslatedLine::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class TranslatedParagraph { … };
template <typename T, TranslatedParagraph::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, TranslatedParagraph::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, TranslatedParagraph::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, TranslatedParagraph::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Paragraph { … };
template <typename T, Paragraph::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Paragraph::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Paragraph::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Paragraph::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
TextPtr Text::Clone() const { … }
template <typename T, Text::EnableIfSame<T>*>
bool Text::Equals(const T& other_struct) const { … }
template <typename T, Text::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
TextLayoutPtr TextLayout::Clone() const { … }
template <typename T, TextLayout::EnableIfSame<T>*>
bool TextLayout::Equals(const T& other_struct) const { … }
template <typename T, TextLayout::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
WordPtr Word::Clone() const { … }
template <typename T, Word::EnableIfSame<T>*>
bool Word::Equals(const T& other_struct) const { … }
template <typename T, Word::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
LinePtr Line::Clone() const { … }
template <typename T, Line::EnableIfSame<T>*>
bool Line::Equals(const T& other_struct) const { … }
template <typename T, Line::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
BackgroundImageDataPtr BackgroundImageData::Clone() const { … }
template <typename T, BackgroundImageData::EnableIfSame<T>*>
bool BackgroundImageData::Equals(const T& other_struct) const { … }
template <typename T, BackgroundImageData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
TranslatedLinePtr TranslatedLine::Clone() const { … }
template <typename T, TranslatedLine::EnableIfSame<T>*>
bool TranslatedLine::Equals(const T& other_struct) const { … }
template <typename T, TranslatedLine::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
TranslatedParagraphPtr TranslatedParagraph::Clone() const { … }
template <typename T, TranslatedParagraph::EnableIfSame<T>*>
bool TranslatedParagraph::Equals(const T& other_struct) const { … }
template <typename T, TranslatedParagraph::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ParagraphPtr Paragraph::Clone() const { … }
template <typename T, Paragraph::EnableIfSame<T>*>
bool Paragraph::Equals(const T& other_struct) const { … }
template <typename T, Paragraph::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
FormulaMetadataPtr FormulaMetadata::Clone() const { … }
template <typename T, FormulaMetadata::EnableIfSame<T>*>
bool FormulaMetadata::Equals(const T& other_struct) const { … }
template <typename T, FormulaMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::lens::mojom::Text::DataView,
::lens::mojom::TextPtr> { … };
template <>
struct StructTraits<::lens::mojom::TextLayout::DataView,
::lens::mojom::TextLayoutPtr> { … };
template <>
struct StructTraits<::lens::mojom::Word::DataView,
::lens::mojom::WordPtr> { … };
template <>
struct StructTraits<::lens::mojom::Line::DataView,
::lens::mojom::LinePtr> { … };
template <>
struct StructTraits<::lens::mojom::BackgroundImageData::DataView,
::lens::mojom::BackgroundImageDataPtr> { … };
template <>
struct StructTraits<::lens::mojom::TranslatedLine::DataView,
::lens::mojom::TranslatedLinePtr> { … };
template <>
struct StructTraits<::lens::mojom::TranslatedParagraph::DataView,
::lens::mojom::TranslatedParagraphPtr> { … };
template <>
struct StructTraits<::lens::mojom::Paragraph::DataView,
::lens::mojom::ParagraphPtr> { … };
template <>
struct StructTraits<::lens::mojom::FormulaMetadata::DataView,
::lens::mojom::FormulaMetadataPtr> { … };
}
#endif