///
import { ChannelType, EditorApi, StateControlCommand } from '@kie-tools-core/editor/dist/api';
import { Notification } from '@kie-tools-core/notifications/dist/api';
import { WorkspaceEdit } from '@kie-tools-core/workspace/dist/api';
interface KaotoBridgeProps {
/**
* Delegation for KogitoEditorChannelApi.kogitoEditor_ready() to signal to the Channel
* that the editor is ready.
*/
onReady: () => void;
/**
* Delegation for KogitoEditorChannelApi.kogitoEditor_stateControlCommandUpdate(command) to signal to the Channel
* that the editor is performing an undo/redo operation.
*/
onStateControlCommandUpdate: (command: StateControlCommand) => void;
/**
* Delegation for WorkspaceChannelApi.kogitoWorkspace_newEdit(edit) to signal to the Channel
* that a change has taken place.
* @param edit An object representing the unique change.
*/
onNewEdit: (edit: WorkspaceEdit) => void;
/**
* Delegation for NotificationsChannelApi.kogigotNotifications_setNotifications(path, notifications) to report all validation
* notifications to the Channel that will replace existing notification for the path.
* @param path The path that references the Notification
* @param notifications List of Notifications
*/
setNotifications: (path: string, notifications: Notification[]) => void;
/**
* ChannelType where the component is running.
*/
channelType: ChannelType;
/**
* Catalog URL to load the components and schemas.
*/
catalogUrl: string;
}
export declare const KaotoBridge: import("react").ForwardRefExoticComponent>;
export {};