import type { CountryCode } from '../../types/datasets/country-code';
import type { StateCodeUS } from '../../types/datasets/state-code';
import type { components } from './companySearch.contract';
export type CompanySearchResult = Required<Omit<components['schemas']['CompanySearchResult'], 'lastUpdate'>> & Pick<components['schemas']['CompanySearchResult'], 'lastUpdate'>;
export type CompanySearchRequest = Omit<components['schemas']['CompanySearchRequest'], 'country'> & {
    country: CountryCode;
};
export type CompanySearchResponse = {
    results: CompanySearchResult[];
};
export type CompanySearch = (data: CompanySearchRequest) => Promise<CompanySearchResponse>;
export interface SearchForBusinessRequest {
    name: string;
    country: CountryCode;
    state: StateCodeUS;
    registrationNumber?: string;
    limit?: number;
}
