import { MessageFunctionType, Result } from '../types'; export interface IsLocaleErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_LOCALE_ERRORS: IsLocaleErrors; /** * Checks whether the `target` string is a valid locale * * ### Example * ``` * expect(isLocale('en').value).toBeTruthy() * ``` * @param target The target string */ export declare function isLocale(target: string): Result;