import { ReactElement } from 'react';
import { FieldComponentProps } from '@cezembre/forms';
import { BoosterFactory, CompositionSetting, Player } from '@goatim/client';
import { CompositionPositionMapTheme } from './compositionPositionMap';
import { CompositionPositionEditorFields, GetPositionPlayersFunction } from './compositionPositionEditor';
export interface CompositionPositionValue extends CompositionPositionEditorFields {
    player: Player;
}
export type CompositionPositionsFieldType = 'map' | 'list';
export interface CompositionPositionMapFieldProps extends FieldComponentProps<CompositionPositionValue[]> {
    type?: CompositionPositionsFieldType;
    compositionSetting?: CompositionSetting;
    getPositionPlayers?: GetPositionPlayersFunction;
    boosterFactories?: BoosterFactory[];
    theme?: CompositionPositionMapTheme;
    readonly?: boolean;
}
export declare function CompositionPositionsField({ type, compositionSetting, getPositionPlayers, boosterFactories, onChange, value, theme, readonly, }: CompositionPositionMapFieldProps): ReactElement;
