import React from "react"; import { ListDataItem, ModelName, UploadedFile } from "../types"; export declare const capitalize: (str: T) => Capitalize; export declare const uncapitalize: (str: T) => Uncapitalize; export declare const isNativeFunction: (fn: Function) => boolean; export declare const isScalar: (value: any) => value is string | boolean | number; export declare const pipe: (...fns: Function[]) => (x: T) => Promise; export declare const extractSerializable: (obj: T, isAppDir?: boolean) => T; export declare const slugify: (str: string) => string; export declare const formatLabel: (label: string) => Capitalize; export declare const isUploadFile: (obj: any) => obj is UploadedFile; export declare const getDisplayedValue: (element: React.ReactElement | string) => string; export declare const getDeletedFilesFieldName: (field: string) => string; export declare const isFileUploadFormat: (format: string) => format is "data-url" | "file"; export declare const reorderData: >(data: T[], fromId: number | string, toId: number | string, orderField: string, idField: string) => T[]; //# sourceMappingURL=tools.d.ts.map