import React from "react"; import type { PuckProps, ReloadKind } from "@pantheon-systems/puck-css"; import { DatasourceRegistryProvider, DatasourceDataProvider } from "@pantheon-systems/puck-css/fields"; type DatasourceRegistry = React.ComponentProps["registry"]; type DatasourceContext = React.ComponentProps["context"]; /** * What the editor route shows: a loading or error state, or the Puck canvas * inside the remote-datasource providers it reads fields through. */ export declare function EditorCanvas({ redirecting, loading, reloading, error, hasContent, canvasKey, puckProps, datasourceRegistry, datasourceContext, }: { redirecting: boolean; loading: boolean; reloading: ReloadKind | null; error: Error | null; hasContent: boolean; canvasKey: string; puckProps: PuckProps; datasourceRegistry: DatasourceRegistry; datasourceContext: DatasourceContext; }): React.JSX.Element; export {};