export default function parseDocumentNumber(source: string, checkDigit: string, optional: string): { value: string; start: number; end: number; };