import type { Model, Signal } from '@preact/signals';
import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
import type { Form } from '../../../hooks/useMultiForm/types';
import type { CountryCode } from '../../../types/datasets/country-code';
import type { FormModelWithValidity } from '../../../types/form';
import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
import type { CompanySearchState } from '../tasks/BusinessDetailsDropin/businessDetailsStore';
import type { BuildRequiredFormsProps } from '../utils/buildRequiredForms';
interface UseNextClickOverridesParams {
    country: CountryCode;
    multiForm: Form<BusinessDetailsSchema>;
    companySearchStateModel: Model<CompanySearchState>;
    getRequiredForms: (options: BuildRequiredFormsProps['options']) => FormModelWithValidity[];
    skipBusinessSelection: Signal<boolean>;
    setLoadingStatus: (status: LoadingStatus) => void;
    isTinMatched: Signal<boolean | undefined>;
    tinMismatchModalOpen: Signal<boolean>;
    legalArrangementModalOpen: Signal<boolean>;
}
export declare function useCompanySearchNextClickOverrides({ country, multiForm, companySearchStateModel, getRequiredForms, skipBusinessSelection, setLoadingStatus, isTinMatched, tinMismatchModalOpen, legalArrangementModalOpen, }: UseNextClickOverridesParams): {
    attemptBusinessSearch: () => Promise<FormModelWithValidity[] | null>;
    confirmBusinessSelection: () => Promise<FormModelWithValidity[] | null>;
};
export {};
