import { MediumLightboxCore } from "../core"; import "./caption.css"; export interface Captioned { } export interface CaptionOptions { caption?: string | HTMLElement; } /** Augments the YAMZ instance to support captions */ export default function withCaption(_yamz: YamzType): Pick> & Pick<{ defaultLightboxGenerator: ($copiedImg: HTMLElement, opts: Parameters[1] & CaptionOptions, $original: HTMLElement) => HTMLElement; setOptions: (options: Parameters[0] & Partial) => ReturnType; optsFromElm: ($elm: HTMLElement) => ReturnType & CaptionOptions; open: ($img: Parameters[0], opts?: (Parameters[1] & CaptionOptions) | undefined) => ReturnType; replace: ($img: Parameters[0], opts?: (Parameters[1] & CaptionOptions) | undefined) => ReturnType; bind: ($imgs: Parameters[0], opts?: (Parameters[1] & CaptionOptions) | undefined) => ReturnType; options: YamzType["options"] & CaptionOptions; }, "defaultLightboxGenerator" | "optsFromElm" | "setOptions" | "open" | "replace" | "bind" | "options"> & Captioned;