import { ReactElement } from 'react';
import { FieldComponentProps } from '@cezembre/forms';
import { Player, CompositionSetting, PlayerPosition } from '@fridaygame/client';
import { CompositionPositionMapTheme } from './compositionPositionMap';
export interface CompositionPositionMapFieldValuePosition {
    id: string;
    player: Player;
}
export interface CompositionPositionMapFieldValue {
    goalkeeper?: Player;
    positions?: CompositionPositionMapFieldValuePosition[];
}
export type GetPositionPlayersFunction = (position?: PlayerPosition[] | PlayerPosition) => Promise<Player[] | undefined> | Player[] | undefined;
export interface Props extends FieldComponentProps<CompositionPositionMapFieldValue> {
    compositionSetting?: CompositionSetting;
    getPositionPlayers?: GetPositionPlayersFunction;
    theme?: CompositionPositionMapTheme;
    readonly?: boolean;
}
export default function CompositionPositionMapField({ compositionSetting, getPositionPlayers, form, onChange, value, theme, readonly, }: Props): ReactElement;
