#pragma once

#include <LibJS/Runtime/NativeFunction.h>
#include <LibJS/Runtime/Object.h>
#include <LibWeb/Bindings/InterfaceObject.h>

namespace Web::Bindings {

struct HTMLMetaElementConstructor {
public:
    static void initialize(JS::Realm&, JS::NativeFunction&);
    static JS::ThrowCompletionOr<GC::Ref<JS::Object>> construct(InterfaceConstructor&, JS::FunctionObject&);

private:
};

struct HTMLMetaElementPrototype {
public:
    static void initialize(JS::Realm&, JS::Object&);
    static void define_unforgeable_attributes(JS::Realm&, JS::Object&);

private:
    JS_DECLARE_NATIVE_FUNCTION(name_getter);
    JS_DECLARE_NATIVE_FUNCTION(name_setter);
    JS_DECLARE_NATIVE_FUNCTION(http_equiv_getter);
    JS_DECLARE_NATIVE_FUNCTION(http_equiv_setter);
    JS_DECLARE_NATIVE_FUNCTION(content_getter);
    JS_DECLARE_NATIVE_FUNCTION(content_setter);
    JS_DECLARE_NATIVE_FUNCTION(media_getter);
    JS_DECLARE_NATIVE_FUNCTION(media_setter);
    JS_DECLARE_NATIVE_FUNCTION(scheme_getter);
    JS_DECLARE_NATIVE_FUNCTION(scheme_setter);
};

} // namespace Web::Bindings
