import { MessageFunctionType, Result } from '../types'; export interface IsCreditCardErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_CREDIT_CARD_ERRORS: IsCreditCardErrors; /** * Tests whether the `target` string is a credit card number * * ### Example * ``` * expect(isCreditCard('4716-2210-5188-5662').value).toBeTruthy() * ``` * @param target The target string */ export declare function isCreditCard(target: string): Result;