import { z } from "../../index-D5q7WHKa.js";
function getConnectorOptionsSchema(defineOptions) {
  if (typeof defineOptions !== "function") {
    throw new Error("defineOptions must be a function");
  }
  const schema = defineOptions({ zod: z });
  if (!(schema instanceof z.ZodObject)) {
    throw new Error("defineOptions must return a ZodObject schema");
  }
  return schema;
}
export {
  getConnectorOptionsSchema
};
//# sourceMappingURL=get-connector-options-schema.js.map
