import { CustomTypeModelFieldType } from "./types.js"; //#region src/types/model/image.d.ts /** * Dimension constraints for an image custom type field. * * More details: {@link https://prismic.io/docs/image} */ interface CustomTypeModelImageConstraint { width?: number | null; height?: number | null; } /** * A thumbnail for an image custom type field. * * More details: {@link https://prismic.io/docs/image} */ interface CustomTypeModelImageThumbnail extends CustomTypeModelImageConstraint { name: Name; } /** * An image custom type field. * * More details: {@link https://prismic.io/docs/image} */ interface CustomTypeModelImageField { type: typeof CustomTypeModelFieldType.Image; config?: { label?: string | null; constraint?: CustomTypeModelImageConstraint; thumbnails?: readonly CustomTypeModelImageThumbnail[]; }; } //#endregion export { CustomTypeModelImageConstraint, CustomTypeModelImageField, CustomTypeModelImageThumbnail }; //# sourceMappingURL=image.d.ts.map