@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
12 lines (11 loc) • 501 B
TypeScript
import type { MaskToken, PossibleShift } from './maskTypes';
import type { MatchedToken } from './matchAgainstMask';
export declare const shiftRight: (possibleShifts: PossibleShift[], matchedTokens: MatchedToken[], remainingTokens: MaskToken[]) => {
matchedTokens: MatchedToken[];
remainingTokens: MaskToken[];
};
/**
* Returns all possible shifts of optional inputs, sorted by best to worst
* @param mask
*/
export declare const findPossibleShifts: (mask: MaskToken[]) => PossibleShift[];