import { MessageFunctionType, Result } from '../types'; export interface IsPostalCodeErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; INVALID_LOCALE: MessageFunctionType; } export declare const IS_POSTAL_CODE_ERRORS: IsPostalCodeErrors; export declare const postalCodeLocales: string[]; /** * Checks whether the `target` string is a valid postal code * * ### Example * ``` * expect(isPostalCode().value).toBeTruthy() * ``` * @param target The target string * @param locale The locale */ export declare function isPostalCode(target: string, locale: string): Result;