import { OptionModel } from './model'; export declare class SingleSelectConfig { /** * @type {string} * request params key in which be send value, that user entered in search string */ requestParamSearchKey: string; /** * request params key that used for pagination, limit response items * @type {string} */ requestParamLimitKey: string; /** * additional request params * @type {{}} */ requestParams: any; /** * additional request headers * @type {{}} */ requestHeaders: any; /** * if set true, to the ajax request will be added '${requestParamLimitKey}' & 'page' params * @type {boolean} */ enablePagination: boolean; /** * @param array element * @returns {OptionModel} */ responseMapFn(el: any): OptionModel; /** * if response will be not plain array, but object with array in some key, need define key there * @type {string} */ responseArrayKey: string; /** * server name for ajax request * @type {string} */ server: string; /** * if set true - by default search will be disabled * @type {boolean} */ disableSearch: boolean; /** * default placeholder * @type {boolean} */ placeholder: string; /** * if set true - will be shown button, that reset selected value * @type {boolean} */ allowClear: boolean; /** * default name for new entity * @type {string} */ entityName: string; /** * if set true - will be shown additional button '+ Add new' at the bottom of list * @type {boolean} */ showAddNewBtn: boolean; }