import type { InputBookingField_2024_06_14, LocationDefaultFieldOutput_2024_06_14, PhoneDefaultFieldOutput_2024_06_14 } from '../../../../platform/types/index.ts';
type InputBookingField = InputBookingField_2024_06_14 | LocationDefaultFieldOutput_2024_06_14 | PhoneDefaultFieldOutput_2024_06_14;
export declare function transformBookingFieldsApiToInternal(bookingFields: InputBookingField[]): ({
    name: "name";
    type: "name";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
    variant?: "fullName" | "firstAndLastName" | undefined;
    variantsConfig?: {
        variants: {
            fullName: {
                fields: {
                    name: "fullName";
                    type: "text";
                    required: boolean;
                    label?: string | undefined;
                    placeholder?: string | undefined;
                }[];
            };
            firstAndLastName?: {
                fields: {
                    name: "firstName" | "lastName";
                    type: "text";
                    required: boolean;
                    label?: string | undefined;
                    placeholder?: string | undefined;
                }[];
            } | undefined;
        };
    } | undefined;
} | {
    name: "email";
    type: "email";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    name: "attendeePhoneNumber";
    type: "phone";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    name: "rescheduleReason";
    type: "textarea";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    name: "location";
    type: "radioInput";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    name: "title";
    type: "text";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    name: "notes";
    type: "textarea";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    name: "guests";
    type: "multiemail";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    name: string;
    type: "number" | "boolean" | "url" | "phone" | "address" | "select" | "textarea" | "text" | "checkbox" | "radio" | "multiselect" | "multiemail" | "radioInput";
    label: string;
    required: boolean;
    editable: "user" | "user-readonly";
    sources: {
        id: "user";
        type: "user";
        label: "User";
        fieldRequired: true;
    }[];
    labelAsSafeHtml?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    options?: {
        label: string;
        value: string;
    }[] | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    options: {
        label: string;
        value: string;
    }[];
    name: "name";
    type: "name";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
    variant?: "fullName" | "firstAndLastName" | undefined;
    variantsConfig?: {
        variants: {
            fullName: {
                fields: {
                    name: "fullName";
                    type: "text";
                    required: boolean;
                    label?: string | undefined;
                    placeholder?: string | undefined;
                }[];
            };
            firstAndLastName?: {
                fields: {
                    name: "firstName" | "lastName";
                    type: "text";
                    required: boolean;
                    label?: string | undefined;
                    placeholder?: string | undefined;
                }[];
            } | undefined;
        };
    } | undefined;
} | {
    options: {
        label: string;
        value: string;
    }[];
    name: "email";
    type: "email";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    options: {
        label: string;
        value: string;
    }[];
    name: "attendeePhoneNumber";
    type: "phone";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    options: {
        label: string;
        value: string;
    }[];
    name: "rescheduleReason";
    type: "textarea";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    options: {
        label: string;
        value: string;
    }[];
    name: "location";
    type: "radioInput";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    options: {
        label: string;
        value: string;
    }[];
    name: "title";
    type: "text";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    options: {
        label: string;
        value: string;
    }[];
    name: "notes";
    type: "textarea";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
} | {
    options: {
        label: string;
        value: string;
    }[];
    name: "guests";
    type: "multiemail";
    required: boolean;
    defaultLabel: string;
    editable: "system" | "system-but-optional" | "user-readonly";
    sources: {
        id: "default";
        type: "default";
        label: "Default";
    }[];
    label?: string | undefined;
    hidden?: boolean | undefined;
    placeholder?: string | undefined;
    defaultPlaceholder?: "" | "email" | "share_additional_notes" | "reschedule_placeholder" | undefined;
    getOptionsAt?: "locations" | undefined;
    optionsInputs?: {
        phone: {
            type: "phone";
            required: boolean;
            placeholder: string;
        };
        attendeeInPerson: {
            type: "address";
            required: boolean;
            placeholder: string;
        };
        somewhereElse?: {
            type: "text";
            required: boolean;
            placeholder: string;
        } | undefined;
    } | undefined;
    views?: {
        id: "reschedule";
        label: string;
    }[] | undefined;
    hideWhenJustOneOption?: boolean | undefined;
    disableOnPrefill?: boolean | undefined;
})[];
export declare function transformSelectOptionsApiToInternal(options: string[]): {
    label: string;
    value: string;
}[];
export {};
//# sourceMappingURL=booking-fields.d.ts.map