import { FieldDataType, ModelsFieldsTypeMap, RequestMethod } from '../types/types';
import { ModelConfig } from '../types/config.types';
export declare const ALL_VALUE = "__ALL__";
export declare const TEA_PRO_TABLE_PARAMS_FIELDS: string[];
export declare const DEFAULT_TABLE_PAGE_SIZE = 10;
export declare const DEFAUTL_SORT: {
    readonly by: "id";
    readonly order: "desc";
};
export declare function requestModel<T, K>(url: string, method: RequestMethod, body: T): Promise<K>;
export declare function formatDate(date: Date): string;
export declare function tableSearchBar(searchConfig: ModelConfig['table']['toolbar']['searchBar'], model: any): {
    placeholder: string;
    getSearchFilters: (keyword: string) => {
        field: any;
        operator: string;
        value: import("../types/types").ScalarType;
    }[];
};
export declare function getColumns(modelName: string, fields: string[], modelsMap: ModelsFieldsTypeMap): FieldDataType[];
