import { TaxCountry } from "../../data";
export interface IndirectDetailsSlotViewProps {
  states: {
    disabled: boolean;
    loading: boolean;
    hide: boolean;
    isPartner: boolean;
    formState: {
      selectedRegion?: string;
      subRegion?: string;
      subRegionTaxNumber?: string;
      qstNumber?: string;
      province?: string;
      indirectTaxNumber?: string;
      hasQst?: boolean;
      hasSubRegionTaxNumber?: boolean;
      errors?: any;
      error?: string;
    };
  };
  data: {
    esRegions?: {
      regionCode: string;
      displayName: string;
    }[];
    provinces?: {
      regionCode: string;
      displayName: string;
    }[];
    countries?: TaxCountry[];
    allCountries?: TaxCountry[];
  };
  callbacks: {
    onFormChange: (field: string, e: CustomEvent) => void;
    onQstToggle: () => void;
    onSpainToggle: () => void;
    setCountrySearch: (c: any) => void;
  };
  text: {
    selectedRegion: string;
    province: string;
    indirectTaxNumber: string;
    subRegion: string;
    qstNumber: string;
    subRegionTaxNumberLabel: string;
    isRegisteredQST: string;
    isRegisteredSubRegionIncomeTax: string;
    error: {
      indirectTaxNumber: string;
      fieldRequiredError: string;
    };
    searchForCountryText: string;
  };
}
export declare type TaxType = "GST" | "HST" | "VAT" | "JST" | "QST" | "CT" | "SST" | "GENERAL";
export declare const OtherRegionSlotView: (props: IndirectDetailsSlotViewProps) => any;
