/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
/// <reference types="react" />
import { BlockDefinition, BlockInstance } from '@kapeta/schemas';
import { InstanceStatus } from '@kapeta/ui-web-context';
export interface BlockContextData {
    readOnly?: boolean;
    definition?: BlockDefinition | undefined;
    instance?: BlockInstance | undefined;
    status?: InstanceStatus | undefined;
    callbacks: {
        onInstanceNameChange?: (name: string) => void;
    };
}
export declare const BlockContext: import("react").Context<BlockContextData>;
export declare const BlockContextProvider: import("react").Provider<BlockContextData>;
