UNPKG

612 BTypeScriptView Raw
1/**
2 * Stencil Doc Outputs don't seem to support custom-elements.json as suggested
3 * here: https://github.com/w3c/webcomponents/issues/776#issuecomment-536749457.
4 * This generator implements this standard, which is used by Storybook to display
5 * documentation.
6 * Thanks to @jagreehal https://github.com/jagreehal/stencil-boilerplate/blob/master/src/customElementDocGenerator.ts
7 */
8export declare function writeDocsOutput(compilerCtx: any, jsonContent: string, root: string): Promise<any>;
9export declare function generateJsonDocs(config: any, compilerCtx: any, _buildCtx: any, docsData: any): Promise<any>;