mermaid
Version:
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
14 lines (13 loc) • 558 B
TypeScript
type Env = Record<string, string | undefined>;
export interface PlausibleSettings {
domain: string;
endpoint: string;
}
/**
* Where the docs report analytics: the Plausible site is `DOCS_PLAUSIBLE_DOMAIN`, falling back
* to the docs hostname (`mermaid.js.org`, or `mermaid.ai` for
* `DOCS_SITE_URL=https://mermaid.ai/open-source/`), sent to `DOCS_PLAUSIBLE_ENDPOINT`
* (default: the self-hosted Plausible at p.mermaid.live). Empty values count as unset.
*/
export declare const getPlausibleSettings: (env?: Env) => PlausibleSettings;
export {};