import { entityKind } from "../entity.js";
class CockroachRole {
  constructor(name, config) {
    this.name = name;
    if (config) {
      this.createDb = config.createDb;
      this.createRole = config.createRole;
    }
  }
  static [entityKind] = "CockroachRole";
  /** @internal */
  _existing;
  /** @internal */
  createDb;
  /** @internal */
  createRole;
  existing() {
    this._existing = true;
    return this;
  }
}
function cockroachRole(name, config) {
  return new CockroachRole(name, config);
}
export {
  CockroachRole,
  cockroachRole
};
//# sourceMappingURL=roles.js.map