import { getCountries } from 'libphonenumber-js';

export declare const formatNumber: (num: number, defaultCurrencySymbol?: string) => string;
export declare function formateDate(date: any, format?: string): string;
export declare function capitalizeWords(str: any): any;
export declare const defaultUserCurrency: () => string;
export declare const valueWithCurrency: (value: any) => string;
export declare const sortData: (data: any[], key: string, direction: string) => any[];
export declare function recursiveSort(data: any[], nestedKeys: any[], header: string, direction: string): any;
export declare function formatTime(isoString: string, format?: string): string;
type Nullable<T> = {
    [P in keyof T]: T[P] extends object ? Nullable<T[P]> : T[P] | null;
};
export declare function convertEmptyToNull<T extends Record<string, any>>(obj: T): Nullable<T>;
export declare function removeExtraKeys(data: any, extraKeys?: any[]): any;
export declare const apiType: {
    company: () => Promise<any[]>;
    items: () => Promise<any[]>;
    currency: () => Promise<any[]>;
    salesperson: () => Promise<any[]>;
    party: () => Promise<any[]>;
    department: () => Promise<any[]>;
    location: () => Promise<any[]>;
    uom: () => Promise<any[]>;
    discountedItems: () => Promise<any[]>;
    taxTemplate: () => Promise<any[]>;
    paymentTerm: () => Promise<any[]>;
    incoTerms: () => Promise<any[]>;
    shippingRules: () => Promise<any[]>;
    bins: () => Promise<any[]>;
    agreement: () => Promise<any[]>;
    accounts: () => Promise<any[]>;
    invoices: () => Promise<any[]>;
    purchaseOrderReceipts: () => Promise<any[]>;
    representatives: () => Promise<any[]>;
    industry: () => Promise<any[]>;
    categoryItems: () => Promise<any[]>;
    customerSegment: () => Promise<any[]>;
    countries: typeof getCountries;
};
export {};
