import { AttachmentAttrs } from "../schema"; import { Box } from "./box"; export interface Attachment { hidePreview: boolean; id: string; name?: string; naturalSize?: Box; type?: string; } /** * Translates attributes of a ProseMirror "at" node into a more friendly * interface that handles default values and uses human-friendly properties. */ export declare function decode(attrs: AttachmentAttrs): Attachment;