import type { PluginStore } from '#src/plugins/imports/types.js'; import type { PluginMetadataWithPaths, PluginSpecStore } from '#src/plugins/index.js'; import type { ResolvedZodRefPayload } from '#src/references/types.js'; import type { ProjectDefinition, ProjectDefinitionSchema } from '#src/schema/project-definition.js'; import type { SchemaParserContext } from './types.js'; /** * Creates a plugin implementation store from the project definition and plugin store, * initializing the set of plugins enabled in the project definition. * * @param pluginStore The plugin store to use * @param projectDefinition The project definition to use * @returns The plugin implementation store */ export declare function createPluginSpecStore(pluginStore: PluginStore, projectDefinition: unknown): PluginSpecStore; /** * Creates a plugin implementation store with the given plugins added to the project definition. * * @param pluginStore The plugin store to use * @param plugins The plugins to add to the project definition * @param projectDefinition The project definition to use * @returns The plugin implementation store */ export declare function createPluginImplementationStoreWithNewPlugins(pluginStore: PluginStore, plugins: PluginMetadataWithPaths[], projectDefinition: ProjectDefinition): PluginSpecStore; /** * Creates a project definition schema with the given context. * * @param projectDefinition The project definition to create a schema for * @param context The context to use * @return The project definition schema */ export declare function createProjectDefinitionSchemaWithContext(projectDefinition: unknown, context: SchemaParserContext): ProjectDefinitionSchema; export declare function parseProjectDefinitionWithContext(projectDefinition: unknown, context: SchemaParserContext): ProjectDefinition; /** * Parses a project definition and obtains entities/references from it. * * @param projectDefinition The project definition to parse * @param context The context to use * @returns The parsed project definition with entities/references */ export declare function parseProjectDefinitionWithReferences(projectDefinition: unknown, context: SchemaParserContext): { definition: ResolvedZodRefPayload; pluginStore: PluginSpecStore; }; //# sourceMappingURL=parser.d.ts.map