import { DataType, FormPropertyValue } from '@parlor/common/amplify-schema';
import { IFeedbackForms } from '../configure-forms.types';
export declare function serializeFormProperties(formProperties?: IFeedbackForms.FormProperty[]): {
    autoAssignProperties: {
        __typename?: "FormProperty";
        id: string;
        formID: string;
        autoAssignValue?: boolean;
        internalProperty?: string;
        isActive?: boolean;
        isRequired?: boolean;
        label?: string;
        organizationID: string;
        placeholderValue?: string;
        sortIndex?: number;
        type: string;
        created_at: any;
        updated_at: any;
        formPropertyValues?: {
            __typename?: "FormPropertyValue";
            id: string;
            BooleanValue?: boolean;
            DateValue?: any;
            NumberValue?: number;
            TextValue?: string;
            updated_at: any;
            created_at: any;
        }[];
    }[];
    manageFormProperties: {
        __typename?: "FormProperty";
        id: string;
        formID: string;
        autoAssignValue?: boolean;
        internalProperty?: string;
        isActive?: boolean;
        isRequired?: boolean;
        label?: string;
        organizationID: string;
        placeholderValue?: string;
        sortIndex?: number;
        type: string;
        created_at: any;
        updated_at: any;
        formPropertyValues?: {
            __typename?: "FormPropertyValue";
            id: string;
            BooleanValue?: boolean;
            DateValue?: any;
            NumberValue?: number;
            TextValue?: string;
            updated_at: any;
            created_at: any;
        }[];
    }[];
};
export declare function deserializeCustomFieldValue(value: any, dataType: DataType): any;
export declare function getCustomFieldValueName(dataType: DataType): keyof Pick<FormPropertyValue, 'BooleanValue' | 'DateValue' | 'NumberValue' | 'TextValue'>;
export declare const serializeCustomFieldValue: (values: IFeedbackForms.FormProperty['formPropertyValues'], type: DataType) => any;
export declare const serializeFormPropertyValues: {
    autoAssignProperties: (formProperties: IFeedbackForms.FormProperty[]) => IFeedbackForms.CreateFormValues['autoAssignPropertiesValues'];
    manageFormProperties: (formProperties: IFeedbackForms.FormProperty[]) => IFeedbackForms.CreateFormValues['manageFormPropertiesValues'];
};
export declare function pickFormPropertyBaseFields(formProperty: Partial<IFeedbackForms.FormProperty>): Pick<Partial<{
    __typename?: "FormProperty";
    id: string;
    formID: string;
    autoAssignValue?: boolean;
    internalProperty?: string;
    isActive?: boolean;
    isRequired?: boolean;
    label?: string;
    organizationID: string;
    placeholderValue?: string;
    sortIndex?: number;
    type: string;
    created_at: any;
    updated_at: any;
    formPropertyValues?: {
        __typename?: "FormPropertyValue";
        id: string;
        BooleanValue?: boolean;
        DateValue?: any;
        NumberValue?: number;
        TextValue?: string;
        updated_at: any;
        created_at: any;
    }[];
}>, "id" | "type" | "label" | "__typename" | "created_at" | "organizationID" | "updated_at" | "isRequired" | "autoAssignValue" | "formID" | "internalProperty" | "isActive" | "placeholderValue" | "sortIndex" | "formPropertyValues">;
