import { PluginSystemActions } from "./createPluginSystemActions.js"; import { PluginSystemHelpers } from "./createPluginSystemHelpers.js"; import { LoadedPlugin } from "./definePlugin.js"; import { PrismicProject } from "./types.js"; /** * Plugin context shared to plugins and hooks. */ export type PluginSystemContext> = { actions: PluginSystemActions; helpers: PluginSystemHelpers; project: PrismicProject; options: TPluginOptions; }; /** * Arguments for `createPluginSystemContext()`. * * @typeParam TPluginOptions - Options for the plugin's context. */ type CreatePluginSystemContextArgs> = { actions: PluginSystemActions; helpers: PluginSystemHelpers; project: PrismicProject; plugin: LoadedPlugin; }; /** * Creates Plugin context. * * @internal */ export declare const createPluginSystemContext: >({ actions, helpers, project, plugin, }: CreatePluginSystemContextArgs) => PluginSystemContext; export {};