import type { Plugin } from 'vite'; import type { SourceDocsIndex } from '../component-docs/source-index.js'; import type { OptionsContext } from './context.js'; /** * Dev-only: reads the docs of the project's own components from each module * Vite transforms and keeps them in `index`, which the `componentDocs` node * action asks before any manifest. Changes no code. * * It runs `pre`, and is registered before the source overlay's transform, so * it sees the author's TypeScript with its type annotations and decorators * intact. HMR re-runs the transform for an edited module, which replaces its * entry; a deleted file drops its entry. * * @param enabled Read per call; off while DevTools is. */ export declare const litComponentDocs: (ctx: OptionsContext, index: SourceDocsIndex, enabled: () => boolean) => Plugin; //# sourceMappingURL=component-docs.d.ts.map