import { Core } from '@strapi/strapi'; declare const controller: ({ strapi }: { strapi: Core.Strapi; }) => { /** * The diagram, already drawn. * * The admin panel receives finished SVG rather than a graph to render itself. * That is the design: one renderer, on the server, so what you see in the * panel and what you download are the same bytes, and so the diagram can be * produced by anything that can make an HTTP request - a docs build, CI - and * not only by a browser running the admin panel. */ svg(ctx: any): Promise; /** * The same drawing as a file. * * Separate from `svg` because a download wants `image/svg+xml` and a * filename, not JSON with a string in it. */ download(ctx: any): Promise; /** The graph itself, for anyone who would rather draw it their own way. */ graph(ctx: any): Promise; /** Everything that could be hidden, so the UI can offer a list. */ catalogue(ctx: any): Promise; }; export default controller;