import { FC, MutableRefObject, PropsWithChildren } from 'react'; import { ParsedCountry } from 'react-international-phone'; export type FieldsStateContextType = { /** * Allows telling which country is selected, so that we can use it to detect if phone * number is too short. */ selectedPhoneCountry: MutableRefObject; }; export declare const FieldsStateContext: import("react").Context; export declare const FieldsStateProvider: FC; export declare const useFieldsState: () => FieldsStateContextType;