import React from 'react';
import { ControlElement, JsonFormsRendererRegistryEntry, JsonFormsState, JsonSchema, UISchemaElement, UISchemaTester } from '@jsonforms/core';
import { JsonFormsStateContext } from '@jsonforms/react';
export interface OwnPropsOfSpectrumArrayItem {
    childLabel?: string;
    enabled?: boolean;
    expanded: number | undefined;
    handleExpand(index: number): () => void;
    index: number;
    path: string;
    removeItem: (path: string, value: number) => () => void;
    renderers?: JsonFormsRendererRegistryEntry[];
    schema: JsonSchema;
    uischema: ControlElement;
    uischemas?: {
        tester: UISchemaTester;
        uischema: UISchemaElement;
    }[];
}
/**
 * Map state to control props.
 * @param state the store's state
 * @param ownProps any own props
 * @returns {StatePropsOfControl} state props for a control
 */
export declare const mapStateToSpectrumArrayItemProps: (state: JsonFormsState, ownProps: OwnPropsOfSpectrumArrayItem) => OwnPropsOfSpectrumArrayItem;
export declare const ctxToSpectrumArrayItemProps: (ctx: JsonFormsStateContext, ownProps: OwnPropsOfSpectrumArrayItem) => OwnPropsOfSpectrumArrayItem;
export declare const withJsonFormsSpectrumArrayItemProps: (Component: React.ComponentType<OwnPropsOfSpectrumArrayItem>) => React.ComponentType<any>;
declare const _default: React.ComponentType<any>;
export default _default;
