UNPKG

@exuus/rwanda-phone-utils

Version:

A package to validate and format rwandan phone numbers

18 lines 637 B
import { TelcoType } from "interface"; declare const _default: { prefix: string; shortLength: number; fullLength: number; format: string; short: string; dashed: string; telcos: TelcoType[]; errors: { short: string; invalid: string; }; }; export default _default; export declare const TelcoInitials: readonly ["78", "79", "72", "73"]; export declare type formatTypes = "dashed" | "normalized" | "short" | "unformatted" | "dashed-short" | "dashed-normalized" | "dashed-unformatted" | "space" | "space-short" | "space-normalized" | "space-unformatted"; //# sourceMappingURL=index.d.ts.map