import type { Config, Plugin } from "@puckeditor/core"; /** * A new `plugins` array remounts the whole canvas, so this must stay stable * from the first render — never gated behind async data. Plugins read their own * live data via useLiveEditorContext/useLiveRemoteDatasources instead. * * The template preview toolbar is not a Puck plugin (it never mounted as one * that way): it is a CCR feature plugin, always on via * DEFAULT_CCR_FEATURE_PLUGINS, that reaches the canvas through * P1SubheaderBridge instead. */ export declare function useP1Plugins(path: string, config: Config): Plugin[];