import { Control, FieldValues, UseFormSetValue } from 'react-hook-form';

interface UpdateMapping {
    [key: string]: string;
}
interface UseFormFieldUpdaterConfig<T extends FieldValues = any> {
    control?: Control<T>;
    setValue?: UseFormSetValue<T>;
    watch?: any;
    fieldToUpdate: UpdateMapping;
    companyField?: string;
    locationField?: string;
    departmentField?: string;
    fieldArrayName?: string;
    transformResponse?: (data: any) => any;
    customDependencies?: any[];
    getFieldState?: any;
    isUpdateAccount?: boolean;
}
export declare function initializeApiBaseUrls(): void;
export declare const useFormFieldUpdater: <T extends FieldValues = any>({ control, setValue, fieldToUpdate, transformResponse, watch, fieldArrayName, companyField, locationField, departmentField, customDependencies, getFieldState, isUpdateAccount }: UseFormFieldUpdaterConfig<T>) => {
    selectedCompany: any;
    selectedLocation: any;
    selectedDepartment: any;
};
export declare const useAccountingSetting: ({ fieldToUpdate, fieldArrayName, companyField, locationField, departmentField, formMethods, customDependencies, ...rest }: {
    fieldToUpdate: any;
    fieldArrayName?: string;
    companyField?: string;
    locationField?: string;
    departmentField?: string;
    setValue?: any;
    control?: any;
    formMethods?: any;
    customDependencies?: any[];
}) => {
    selectedCompany: any;
    selectedLocation: any;
    selectedDepartment: any;
};
export {};
