import { SVGInstance } from "../../../node/instance/SVGInstance.js";
export class Visibility extends SVGInstance {
    visibility(visibility) {
        if (typeof visibility === "undefined") {
            const visibility = this.attr("visibility");
            return typeof visibility === "string" ? visibility : null;
        }
        else if (typeof visibility === "string") {
            this.attr("visibility", visibility);
            return this;
        }
        return null;
    }
}
//# sourceMappingURL=visibility.js.map