import { CustomTypeModelFieldType } from "./types.cjs";

//#region src/types/model/richText.d.ts
/**
 * A rich text custom type field.
 *
 * More details: {@link https://prismic.io/docs/rich-text-title}
 */
type CustomTypeModelRichTextField = CustomTypeModelRichTextMultiField | CustomTypeModelRichTextSingleField;
/**
 * A rich text custom type field which supports multiple blocks of content.
 *
 * More details: {@link https://prismic.io/docs/rich-text-title}
 */
interface CustomTypeModelRichTextMultiField {
  type: typeof CustomTypeModelFieldType.StructuredText;
  config?: {
    label?: string | null;
    placeholder?: string;
    allowTargetBlank?: boolean;
    multi?: string;
    labels?: readonly string[];
  };
}
/**
 * A rich text custom type field which supports one block of content.
 *
 * More details: {@link https://prismic.io/docs/rich-text-title}
 */
interface CustomTypeModelRichTextSingleField {
  type: typeof CustomTypeModelFieldType.StructuredText;
  config?: {
    label?: string | null;
    placeholder?: string;
    allowTargetBlank?: boolean;
    single?: string;
    labels?: readonly string[];
  };
}
//#endregion
export { CustomTypeModelRichTextField, CustomTypeModelRichTextMultiField, CustomTypeModelRichTextSingleField };
//# sourceMappingURL=richText.d.cts.map