import { s } from '../../json-crdt-patch';
export class Extension {
    id;
    name;
    Node;
    Api;
    schema;
    constructor(id, name, Node, Api, schema) {
        this.id = id;
        this.name = name;
        this.Node = Node;
        this.Api = Api;
        this.schema = schema;
    }
    new(...args) {
        return s.ext(this.id, this.schema(...args));
    }
}
//# sourceMappingURL=Extension.js.map