import type { InternalNamePath, NamePath } from 'rc-field-form/lib/interface'; import React from 'react'; export { stringify } from 'qs'; declare type AnyObject = Record; declare type RenderProps = undefined | AnyObject | ((originProps: AnyObject) => AnyObject | undefined); export declare const tuple: (...args: T) => T; export declare function toArray(candidate?: T | T[] | false): T[]; export declare function getFieldId(namePath: InternalNamePath, formName?: string): string | undefined; export declare function replaceElement(element: React.ReactNode, replacement: React.ReactNode, props: RenderProps): React.ReactNode; export declare function cloneElement(element: React.ReactNode, props?: RenderProps): React.ReactElement; export declare function isEmptyArray(arr: T): boolean; export declare const getStringifyNamePath: (name?: NamePath | undefined) => string; export declare const array2Object: = any>(arr: T[] | undefined, key?: string) => Map;