import { NodeSpec } from "prosemirror-model"; export declare type TypeName = "at"; export interface AttachmentAttrs { /** * "File Name" * * The name of the attachment's underlying file. */ fn?: string; /** * "ID" * * The backend storage ID for the attachment. */ id: string; /** * "Hide Preview" * * If `true`, indicates that no preview for the attachment should be * displayed, instead being displayed as a simple card. */ hp?: boolean; /** * "Natural Height" * * For image attachments, the height dimension (in display pixels). For * high-DPI images the value is in display dimensions (not bitmap dimensions). * For example given an `image@2x.jpg` file with size 120×30, the height is 15. */ nh?: number; /** * "Natural Width" * * For image attachments, the width dimension (in display pixels). For * high-DPI images the value is in display dimensions (not bitmap dimensions). * For example given an `image@2x.jpg` file with size 120×30, the width is 60. */ nw?: number; /** * "Type" * * The type of attachment. This is used to choose an appropriate attachment * previewer. It's also used to determine the size of a placeholder based on * the natural size. */ t?: string; } export declare const typeName: TypeName; export declare const domDataAttrType = "data-dovetail-type"; export declare const domDataAttrAttrs = "data-dovetail-attrs"; export declare const nodeSpec: NodeSpec;