// TypeScript declarations of the units add-on (arqamUnits.js).
//   import arqamAR from "arqam"; import "arqam/units";
//   new arqamAR.NumberFormat("ar", {style: "unit", unit: "kilometer"}).format(3)   // ثلاثة كيلومترات
// @author : Mohsen Alyafei
export interface ArqamUnits {
  readonly version: string;
  /** The key of a unit ("A05") from an Intl name ("kilometer"), a key ("a05") or the Arabic name, plural or sign; "" if unknown */
  key(name: string): string;
  /** The toWords options of one conversion of the unit (the page's rules); options: the options in force (decFormat, addZero) */
  options(key: string, number: string, options?: object): {code: string; numSymbol: string; currDecForce: string; rounding: string; ignoreCountry: string; decFormat?: string; compact?: string};
  /** Registers the unit with arqamAR.registerCurrency() (once); returns its key */
  register(key: string): string;
  /** The registerCurrency() attributes of a unit, or null */
  attributes(key: string): object | null;
  /** key -> the Arabic name of the unit */
  readonly names: Record<string, string>;
  /** Intl name -> key */
  readonly intl: Record<string, string>;
  /** every key */
  readonly keys: string[];
}
declare const arqamUnits: ArqamUnits;
export default arqamUnits;
export declare const version: string;
export declare const names: Record<string, string>;
export declare const intl: Record<string, string>;
export declare const keys: string[];
export declare function key(name: string): string;
export declare function options(key: string, number: string, options?: object): object;
