import { FieldTypeFactory, ComponentTypeFactory } from '@sentecacommerce-theme/base';
var schema = {
  title: FieldTypeFactory.text(),
  subtitle: FieldTypeFactory.html(),
  align: FieldTypeFactory.text({
    required: false,
    defaultValue: 'center'
  }),
  withGreyBox: FieldTypeFactory.boolean({
    required: false,
    defaultValue: false
  }),
  subtitleBottom: FieldTypeFactory.boolean({
    required: false,
    defaultValue: false
  }),
  small: FieldTypeFactory.boolean({
    required: false,
    defaultValue: false
  }),
  ctas: FieldTypeFactory.list({
    required: false,
    of: {
      link: FieldTypeFactory.text(),
      label: FieldTypeFactory.text(),
      variant: FieldTypeFactory.text({
        required: false
      }),
      target: FieldTypeFactory.text({
        required: false
      })
    }
  })
};
var CaptionType = ComponentTypeFactory.create('Caption', schema);
export { CaptionType };
//# sourceMappingURL=caption.type.js.map