You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
680 B

4 months ago
import type { STDExtensionOption } from '../registry/extension/types';
import type { Graph } from '../runtime/graph';
import type { TransformOptions } from '../spec/transform';
/**
* <zh/>
*
* <en/> Convert extension options to standard format
* @param graph - <zh/> <en/> graph instance
* @param category - <zh/> <en/> extension type
* @param extensions - <zh/> <en/> extension options
* @returns <zh/> <en/> Standard extension options
*/
export declare function parseExtensions(graph: Graph, category: string, extensions: TransformOptions): STDExtensionOption[];