import { ReactNode } from 'react'; import { FormikContextType } from 'formik'; import { DataTooltipInterface } from '../../frameworks/Tooltip/types'; export interface FormikExtended extends FormikContextType { disabled?: boolean; inline?: boolean; formName: string; } export interface FormikContextProps { formik?: FormikExtended; optionalLabel?: string; isOptional?: boolean; autoComplete?: string; tooltipProps?: DataTooltipInterface; } export declare const IsOptionLabel = "(optional)"; export declare const errorCheck: (name: string, formik?: FormikContextType | undefined) => boolean; export declare const getFormFieldLabel: (label: ReactNode | string | undefined, fieldName: string, props: FormikContextProps, css?: string | undefined) => ReactNode | string | undefined; export declare function escapeNewlines(input: string | number): string | number;