/** * TypeScript type definitions for `rapipdf`: the `` element. */ /** `detail` of the `pdf-generated` event. */ export interface PdfGeneratedDetail { /** What was done with the PDF. */ output: "open" | "download" | "blob"; } /** `detail` of the `pdf-error` event. */ export interface PdfErrorDetail { error: Error; } /** * ``: a spec URL field and a button that turns an OpenAPI or Swagger 2.0 spec into a PDF. * While a PDF is being made the element has the `generating` attribute. */ export declare class RapiPdf extends HTMLElement { /** The `spec-url` attribute. */ specUrl: string | null; /** The labels printed in the PDF: the defaults, with those of the `