import { MessageFunctionType, Result } from '../types'; export interface IsMongoIDErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_MONGO_ID_ERRORS: IsMongoIDErrors; /** * Tests whether the `target` string is a valid MongoID * * ### Example * ``` * expect(isMongoId('507f1f77bcf86cd799439011').value).toBeTruthy() * ``` * @param target The target string */ export declare function isMongoId(target: string): Result;