import React from 'react';
import { ButtonStyle } from '@monstrosity/enums/button-style';
interface FieldGroupProps {
    children: JSX.Element | JSX.Element[];
    submitLabel?: string;
    onSubmit?: (data: FormItemState[]) => void;
    buttonStyle?: ButtonStyle;
}
export interface FormItemState {
    id: string;
    isInvalid: string;
    value: string;
    unMaskedValue: string;
}
interface FieldGroupState {
    formItems: FormItemState[];
}
export declare const FieldRootWrapper: import("styled-components").StyledComponent<"div", import("@monstrosity/types/theme").Theme, {}, never>;
export declare class FieldGroup extends React.Component<FieldGroupProps, FieldGroupState> {
    private ref;
    constructor(props: FieldGroupProps);
    static defaultProps: {
        submitLabel: string;
    };
    render(): JSX.Element;
    onFieldChange: (event: React.ChangeEvent<HTMLInputElement>, id: string, isInvalid: string) => void;
    onSubmit: () => void;
}
export {};
