import { ImageShape } from '@dvn/alaca/components/dvn-image/models';
import { BaseField } from '../../BaseField';
export declare enum AttachmentSourceType {
  RawUrl = "raw-url",
  AttachmentObject = "object",
  AttachmentObjects = "objects"
}
export declare enum AttachmentDataType {
  Image = "image"
}
export interface AttachmentObject {
  url: string;
  type: AttachmentDataType;
}
export declare type AttachmentValue = string | AttachmentObject | AttachmentObject[];
export declare class AttachmentField extends BaseField {
  static type: string;
  sourceType: AttachmentSourceType;
  dataType: AttachmentDataType;
  shape: ImageShape;
  constructor(id: string, title?: string);
  showPreview(): AttachmentField;
  setShape(shape: ImageShape): AttachmentField;
}
