import { PluginBuilder, PluginFs } from '../Plugin'; export declare type JsonPluginIgnoredKeys = 'symbol' | 'declaration' | 'decorator' | 'enumDeclaration' | 'type' | 'node' | 'file' | 'signature' | 'returnType'; export declare const JSON_PLUGIN_IGNORED_KEYS: Set; export interface JsonPluginConfig extends Record { cwd: string; outFile: string; ignoredKeys: Set; } export declare const JSON_PLUGIN_DEFAULT_CONFIG: JsonPluginConfig; export declare function normalizeJsonPluginConfig(config: Partial, fs: PluginFs): Promise; /** * Transforms component metadata into JSON format. This will run in the `transform` plugin * lifecycle step. * * @option cwd - The current working directory, defaults to `process.cwd()`. * @option outFile - Custom path to where the JSON file should be output. * @option ignoredKeys - Set of keys anywhere in the `ComponentMeta` you'd like to ignore. * * @example * ```ts * // wcom.config.ts * * import { jsonPlugin } from '@wcom/cli'; * * export default [ * jsonPlugin({ * // Configuration options here. * outFile: './wcom.json', * }), * ]; * ``` */ export declare const jsonPlugin: PluginBuilder>; //# sourceMappingURL=index.d.ts.map