import { default as React } from 'react'; import { SetOptional } from 'type-fest'; import { CodeEditorProps } from '../CodeEditor'; import { InputWrapperBaseProps } from '../../internals/InputWrapper'; import { RulesObject } from './utils'; export interface RuleEngineProps extends Omit, SetOptional, "id" | "name">, Pick { /** * Default value for the CodeEditor visibility. * If not provided, the CodeEditor will be hidden by default. * @default false */ defaultCodeEditorVisible?: boolean; /** * Schema type to be used when building the rule. */ schemaType: Extract, "order-rules" | "price-rules">; /** * Triggered when the editor value changes. * @param value The new editor value. * @returns */ onChange?: (value: RulesObject) => void; } export declare function RuleEngine(props: RuleEngineProps): React.JSX.Element;