import { RestoreCommerceGrpcClient } from '@restorecommerce/rc-grpc-clients';
import { AccessControlServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/access_control.js';
import { PolicyServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/policy.js';
import { RuleServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/rule.js';
import { PolicySetServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/policy_set.js';
export class AccessControlSrvGrpcClient extends RestoreCommerceGrpcClient {
    access_control;
    policy;
    rule;
    policy_set;
    constructor(address, cfg) {
        super(address, cfg);
        this.access_control = this.createClient(cfg, AccessControlServiceDefinition, this.channel);
        this.policy = this.createClient(cfg, PolicyServiceDefinition, this.channel);
        this.rule = this.createClient(cfg, RuleServiceDefinition, this.channel);
        this.policy_set = this.createClient(cfg, PolicySetServiceDefinition, this.channel);
    }
}
//# sourceMappingURL=index.js.map