import * as prettier from "prettier"; import { PrismicConfig, PrismicProject } from "./types.js"; type UpdatePrismicConfigOptions = { format?: boolean; }; type FormatOptions = { prettier?: prettier.Options; /** * Determines if a newline is included at the end of the formatted result. * * @defaultValue `true` */ includeNewlineAtEnd?: boolean; }; /** * Creates Plugin System helpers. * * @internal */ export declare const createPluginSystemHelpers: (project: PrismicProject) => PluginSystemHelpers; /** * Plugin System helpers shared to plugins and hooks. */ export declare class PluginSystemHelpers { /** * Project's metadata. * * @internal */ private _project; constructor(project: PrismicProject); getProject: () => Promise; updatePrismicConfig: (prismicConfig: PrismicConfig, options?: UpdatePrismicConfigOptions) => Promise; format: (source: string, filePath?: string, options?: FormatOptions) => Promise; joinPathFromRoot: (...paths: string[]) => string; } export {};