import React from 'react';
import { SelectProps } from 'antd';
import { ResourceActionOptions } from '../../../api-client';
import { ReadPretty } from './ReadPretty';
export type RemoteSelectProps<P = any> = SelectProps<P, any> & {
    objectValue?: boolean;
    onChange?: (v: any) => void;
    target?: string;
    wait?: number;
    manual?: boolean;
    mapOptions?: (data: any) => RemoteSelectProps['fieldNames'];
    targetField?: any;
    service: ResourceActionOptions<P>;
    CustomDropdownRender?: (v: any) => any;
    optionFilter?: (option: any) => boolean;
};
declare const InternalRemoteSelect: React.ForwardRefExoticComponent<SelectProps<any, any> & {
    objectValue?: boolean;
    onChange?: (v: any) => void;
    target?: string;
    wait?: number;
    manual?: boolean;
    mapOptions?: (data: any) => RemoteSelectProps["fieldNames"];
    targetField?: any;
    service: ResourceActionOptions<any>;
    CustomDropdownRender?: (v: any) => any;
    optionFilter?: (option: any) => boolean;
} & React.RefAttributes<never>>;
export declare const RemoteSelect: typeof InternalRemoteSelect & {
    ReadPretty: typeof ReadPretty;
};
export default RemoteSelect;
