export declare const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
export declare const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
export declare const USER_QUERY_NAMESPACE = "sq:user-info-query";
export declare const USER_FORM_CONTEXT_NAMESPACE = "sq:user-form-context";
export declare const FINANCE_NETWORK_SETTINGS_NAMESPACE = "sq:finance-network-settings";
export declare const COUNTRIES_NAMESPACE = "sq:countries:list";
export declare const SORTED_COUNTRIES_NAMESPACE = "sq:countries:sorted";
export declare const COUNTRIES_QUERY_NAMESPACE = "sq:countries:query";
export declare const CURRENCIES_NAMESPACE = "sq:currencies:list";
export declare const CURRENCIES_QUERY_NAMESPACE = "sq:currencies:query";
export declare type TaxDocumentType = "W9" | "W8BEN" | "W8BENE";
export declare type UserFormContext = {
  firstName: string;
  lastName: string;
  email: string;
  phoneNumberCountryCode: string;
  phoneNumber: string;
  countryCode: string;
  currency: string;
  address: string;
  city: string;
  state: string;
  postalCode: string;
};
export declare type TaxContext = {
  overrideNextStep?: string;
  overrideBackStep?: string;
  hideSteps?: boolean;
};
export declare const GET_USER: string;
declare type TaxDocumentStatus = "NEW" | "NOT_VERIFIED" | "ACTIVE" | "INACTIVE";
export declare type ImpactPublisher = {
  id: string;
  brandedSignup: boolean;
  countryCode: string;
  currency: string;
  billingAddress: string | null;
  billingCity: string | null;
  billingState: string | null;
  billingCountryCode: string | null;
  billingPostalCode: string | null;
  phoneNumberCountryCode: string | null;
  phoneNumber: string | null;
  currentTaxDocument: null | {
    status: TaxDocumentStatus;
    type: TaxDocumentType;
    dateCreated: number;
  };
  taxInformation: null | {
    indirectTaxId: string | null;
    indirectTaxCountryCode: string;
    indirectTaxRegion: string | null;
    additionalTaxId: string | null;
    withholdingTaxId: string | null;
    withholdingTaxCountryCode: string | null;
  };
  requiredTaxDocumentType: TaxDocumentType | null;
  withdrawalSettings: {
    paymentMethod: "PAYPAL" | "BANK_TRANSFER";
    paypalEmailAddress: string | null;
    bankCountry: string | null;
    bankAccountNumber: string | null;
    paymentSchedulingType: "BALANCE_THRESHOLD" | "FIXED_DAY";
    paymentThreshold: string | null;
    paymentDay: string | null;
  };
  payoutsAccount: {
    hold: boolean;
    holdReasons: string[];
    balance: string;
  };
};
export declare type ImpactUser = {
  firstName: string;
  lastName: string;
};
export declare type UserQuery = {
  user: {
    firstName?: string;
    lastName?: string;
    email?: string;
    countryCode?: string;
    customFields?: {
      [key: string]: any;
    };
    rewards: {
      data: {
        statuses: string[];
        partnerFundsTransfer: {
          id: string;
          status: string;
        };
      }[];
    };
    managedIdentity?: {
      uid: string;
      email: string;
      emailVerified: boolean;
    } | null;
    impactConnection: null | {
      connected: boolean;
      user: null | ImpactUser;
      publisher: null | ImpactPublisher;
    };
  };
};
export declare const GET_COUNTRIES: string;
export declare type TaxCountry = {
  countryCode: string;
  displayName: string;
};
export declare type CountriesQuery = {
  impactPayoutCountries: {
    data: TaxCountry[];
  };
};
export declare const GET_CURRENCIES: string;
export declare type Currencies = {
  displayName: string;
  currencyCode: string;
}[];
export declare type CurrenciesQuery = {
  currencies: {
    data: Currencies;
  };
};
export declare type FinanceNetworkSetting = {
  countryCode: string;
  currency: string;
  defaultFinancePaymentMethodId: number;
  thresholdOptions: string;
  withdrawalSettingId: number;
  internationalEftFee: number;
  foreignFxFee: number;
  defaultFxFee: number;
};
export declare type FinanceNetworkSettingsQuery = {
  impactFinanceNetworkSettings: {
    data: FinanceNetworkSetting[];
    totalCount: number;
  };
};
export declare const GET_FINANCE_NETWORK_SETTINGS: string;
export declare const FORM_STEPS = 4;
export {};
