import { SugaredRelativeSingleField } from '@contember/react-binding';
import type { FieldContainerProps } from '@contember/ui';
import { FunctionComponent, ReactNode } from 'react';
export type DiscriminatedBlocksProps = {
    children: ReactNode;
    allowBlockTypeChange?: boolean;
} & FieldContainerProps & SugaredRelativeSingleField;
/**
 * Renders different blocks based on a value in a discrimination field.
 *
 * @example
 * ```
 * <DiscriminatedBlocks label="Link" field="type">
 *   <Block discriminateBy="article" label="Articles">
 *     <SelectField options="Article.slug" field="article" label="Article" />
 *   </Block>
 *   <Block discriminateBy="url" label="External link">
 *     <TextField label="Url" field="url" />
 *   </Block>
 * </DiscriminatedBlocks>
 * ```
 *
 * @group Blocks and repeaters
 */
export declare const DiscriminatedBlocks: FunctionComponent<DiscriminatedBlocksProps>;
//# sourceMappingURL=DiscriminatedBlocks.d.ts.map