import type { Config, Plugin } from "@puckeditor/core"; import type { RemoteDatasourceDefinition } from "../../../data/remote-datasources/remote-datasource-registry"; import type { RouteRow } from "../../../data/page-store"; export declare function createFieldConnectPlugin(opts: { config: Config; editorPath: string; /** * Fallback until live data resolves — and the only source if the host does not * serve /p1/api/editor-context. Inside a P1PuckProvider these are never used. * @deprecated the plugin reads live data on its own. */ routes?: RouteRow[]; /** @deprecated see routes */ remoteDatasourceRegistry?: RemoteDatasourceDefinition[]; }): Plugin;