parchment.d.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import ContainerBlot from './blot/abstract/container';
  2. import FormatBlot from './blot/abstract/format';
  3. import LeafBlot from './blot/abstract/leaf';
  4. import ScrollBlot from './blot/scroll';
  5. import InlineBlot from './blot/inline';
  6. import BlockBlot from './blot/block';
  7. import EmbedBlot from './blot/embed';
  8. import TextBlot from './blot/text';
  9. import Attributor from './attributor/attributor';
  10. import ClassAttributor from './attributor/class';
  11. import StyleAttributor from './attributor/style';
  12. import AttributorStore from './attributor/store';
  13. import * as Registry from './registry';
  14. declare let Parchment: {
  15. Scope: typeof Registry.Scope;
  16. create: typeof Registry.create;
  17. find: typeof Registry.find;
  18. query: typeof Registry.query;
  19. register: typeof Registry.register;
  20. Container: typeof ContainerBlot;
  21. Format: typeof FormatBlot;
  22. Leaf: typeof LeafBlot;
  23. Embed: typeof EmbedBlot;
  24. Scroll: typeof ScrollBlot;
  25. Block: typeof BlockBlot;
  26. Inline: typeof InlineBlot;
  27. Text: typeof TextBlot;
  28. Attributor: {
  29. Attribute: typeof Attributor;
  30. Class: typeof ClassAttributor;
  31. Style: typeof StyleAttributor;
  32. Store: typeof AttributorStore;
  33. };
  34. };
  35. export default Parchment;