index.d.ts 707 B

1234567891011
  1. import { DrawPosterBuildOpts } from "./utils/interface";
  2. import DrawPoster from "./draw-poster";
  3. import drawQrCode from "./extends/draw-qr-code/index";
  4. import createFromList from './extends/create-from-list/index';
  5. import drawPainter from './extends/draw-painter/index';
  6. declare const useDrawPoster: (options: string | DrawPosterBuildOpts) => Promise<DrawPoster & import("./utils/interface").drawPosterExtends>;
  7. declare const useDrawPosters: (optionsAll: (string | DrawPosterBuildOpts)[]) => Promise<{
  8. [key: string]: DrawPoster & import("./utils/interface").drawPosterExtends;
  9. }>;
  10. export { DrawPoster, useDrawPoster, useDrawPosters, drawQrCode, drawPainter, createFromList };
  11. export default DrawPoster;