import { entityKind } from "../../entity.js";
import { CockroachColumn, CockroachColumnWithArrayBuilder } from "./common.js";
class CockroachInetBuilder extends CockroachColumnWithArrayBuilder {
  static [entityKind] = "CockroachInetBuilder";
  constructor(name) {
    super(name, "string", "CockroachInet");
  }
  /** @internal */
  build(table) {
    return new CockroachInet(
      table,
      this.config
    );
  }
}
class CockroachInet extends CockroachColumn {
  static [entityKind] = "CockroachInet";
  getSQLType() {
    return "inet";
  }
}
function inet(name) {
  return new CockroachInetBuilder(name ?? "");
}
export {
  CockroachInet,
  CockroachInetBuilder,
  inet
};
//# sourceMappingURL=inet.js.map