import { default as React } from 'react';
import { FormField, TableRpc } from '@kottster/common';
import { BaseProps } from './Input';
import { LinkedRecordsModalProps } from '../linkedRecordsModal/LinkedRecordsModal';
interface RecordSelectProps extends BaseProps {
    value: string;
    onChange: (value: string) => void;
    formField: FormField & {
        type: 'recordSelect';
    };
    tableRpc: TableRpc;
    pageSettingsKeyPrefix: string;
    column: string;
    onOpenLinkedRecordsModal?: (props: LinkedRecordsModalProps) => void;
    onCloseLinkedRecordsModal?: () => void;
}
export declare function RecordSelect({ value, onChange, formField, tableRpc, hasError, column, pageSettingsKeyPrefix, readOnly, onOpenLinkedRecordsModal, onCloseLinkedRecordsModal, }: RecordSelectProps): React.JSX.Element;
export {};
