import type { APIConsumer } from '../../api_consumer/namespace';
import type { FormLayoutNS } from '../namespace';
import type FormLayout from './layout';
type FormLayoutInterface = FormLayoutNS.LayoutInterface;
type FormLayoutOrInterface = FormLayout | FormLayoutInterface;
export default class FormPayload {
    [key: string]: any;
    ['$extra-data']: any;
    private constructor();
    static create(): FormPayload;
    static create(data: FormPayload): FormPayload;
    static create(data: APIConsumer.FormPayloadJSON, layout?: FormLayoutOrInterface): FormPayload;
    addExtraData(data: {
        [key: string]: any;
    }): void;
    clear(): void;
    setData(data?: APIConsumer.FormPayloadJSON, layout?: FormLayoutOrInterface): FormPayload;
    replaceData(data?: APIConsumer.FormPayloadJSON, layout?: FormLayout): FormPayload;
    private copyWithProperties;
}
export {};
//# sourceMappingURL=form-payload.d.ts.map