import { ReactElement } from 'react';
import { FieldComponentProps } from '@cezembre/forms';
import { CompositionSetting, Player, 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 CompositionPositionMapFieldProps extends FieldComponentProps<CompositionPositionMapFieldValue> {
    compositionSetting?: CompositionSetting;
    getPositionPlayers?: GetPositionPlayersFunction;
    theme?: CompositionPositionMapTheme;
    readonly?: boolean;
}
export declare function CompositionPositionMapField({ compositionSetting, getPositionPlayers, form, onChange, value, theme, readonly, }: CompositionPositionMapFieldProps): ReactElement;
