#pragma once

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

namespace Web::Bindings {

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

private:
};

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

private:
    JS_DECLARE_NATIVE_FUNCTION(type_getter);
    JS_DECLARE_NATIVE_FUNCTION(table_values_getter);
    JS_DECLARE_NATIVE_FUNCTION(slope_getter);
    JS_DECLARE_NATIVE_FUNCTION(intercept_getter);
    JS_DECLARE_NATIVE_FUNCTION(amplitude_getter);
    JS_DECLARE_NATIVE_FUNCTION(exponent_getter);
    JS_DECLARE_NATIVE_FUNCTION(offset_getter);
};

} // namespace Web::Bindings
