#pragma once

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

namespace Web::Bindings {

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

private:
};

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

private:
    JS_DECLARE_NATIVE_FUNCTION(font_family_getter);
    JS_DECLARE_NATIVE_FUNCTION(font_family_setter);
    JS_DECLARE_NATIVE_FUNCTION(annotation_getter);
    JS_DECLARE_NATIVE_FUNCTION(ornaments_getter);
    JS_DECLARE_NATIVE_FUNCTION(stylistic_getter);
    JS_DECLARE_NATIVE_FUNCTION(swash_getter);
    JS_DECLARE_NATIVE_FUNCTION(character_variant_getter);
    JS_DECLARE_NATIVE_FUNCTION(styleset_getter);
    JS_DECLARE_NATIVE_FUNCTION(historical_forms_getter);
};

} // namespace Web::Bindings
