import { PluginBuilder, PluginFs } from '../Plugin.js'; export declare const JSON_PLUGIN_IGNORED_KEYS: Set; export interface JsonPluginConfig extends Record { cwd: string; outFile: string; ignoredKeys: Set; extendIgnoredKeys: Set; transformJson?: (json: Record) => Record; } 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 * // FILE: celement.config.ts * * import { jsonPlugin } from '@celement/cli'; * * export default [ * jsonPlugin({ * // Configuration options here. * outFile: './elements.json', * }), * ]; * ``` */ export declare const jsonPlugin: PluginBuilder>; //# sourceMappingURL=index.d.ts.map