plugin-template/dist/index.d.ts
saberzero1 e7904abba5
chore: add missing dist type declaration files
The build output .d.ts files were not committed, only the JS files.
Both are needed for consumers to import the package with type support.
2026-03-16 19:21:14 +01:00

21 lines
1.2 KiB
TypeScript

import { QuartzTransformerPlugin, QuartzFilterPlugin, QuartzEmitterPlugin } from '@quartz-community/types';
export { PageGenerator, PageMatcher, QuartzComponent, QuartzComponentConstructor, QuartzComponentProps, QuartzEmitterPlugin, QuartzFilterPlugin, QuartzPageTypePlugin, QuartzPageTypePluginInstance, QuartzTransformerPlugin, StringResource, VirtualPage } from '@quartz-community/types';
import { ExampleTransformerOptions, ExampleFilterOptions, ExampleEmitterOptions } from './types.js';
export { ExampleComponent, ExampleComponentOptions } from './components/index.js';
/**
* Example transformer showing remark/rehype usage and resource injection.
*/
declare const ExampleTransformer: QuartzTransformerPlugin<Partial<ExampleTransformerOptions>>;
/**
* Example filter that removes drafts, tagged pages, and excluded path prefixes.
*/
declare const ExampleFilter: QuartzFilterPlugin<Partial<ExampleFilterOptions>>;
/**
* Example emitter that writes a JSON manifest of content metadata.
*/
declare const ExampleEmitter: QuartzEmitterPlugin<Partial<ExampleEmitterOptions>>;
export { ExampleEmitter, ExampleEmitterOptions, ExampleFilter, ExampleFilterOptions, ExampleTransformer, ExampleTransformerOptions };