import * as React from 'react';
import { AllocationType } from '@lml/cosmo-ts-data';
import { AbstractJobField, AbstractJobFieldProps } from './abstract-field';
/**
 * Map of refId to callsign
 */
export interface RefIdToCallsignMap {
    [refId: string]: string;
}
export interface SmartFieldProps extends AbstractJobFieldProps {
}
export interface SmartFieldComponentProps extends SmartFieldProps {
    matches: string[];
    callsigns: RefIdToCallsignMap | null;
    allocate: (allocationType: AllocationType, jobRefId?: string, courierRefId?: string) => any;
}
export declare class SmartFieldComponent extends AbstractJobField<SmartFieldComponentProps> {
    render(): JSX.Element;
    private onClick;
}
export declare const SmartField: React.ComponentClass<SmartFieldProps>;
