/** * Vocabulary of the annotations a document carries in HTML comments (quote-*, image-*), * shared by the viewer and by the generated HTML pages. */ export type ImageWidth = "full" | "3/4" | "2/3" | "1/2" | "1/3" | "1/4"; export type ImageAlign = "left" | "center" | "right"; export interface ImageAttrs { width: ImageWidth | null; align: ImageAlign | null; } /** The canonical callout type, or null when the value is not a known type. */ export declare function parseCalloutType(value: string): string | null; export declare function getCalloutIcon(type: string | null): string; /** Reads the image-width / image-align comments of a prefix; invalid values are ignored. */ export declare function parseImageComments(comments: string): ImageAttrs; export declare function imageWidthClass(width: ImageWidth): string; //# sourceMappingURL=contentAnnotations.d.ts.map