import { MessageFunctionType, Result } from '../types'; export interface IsMagnetURIErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_MAGNET_URI_ERRORS: IsMagnetURIErrors; /** * Checks whether the `target` string is a valid Magnet URI * ### Example * ``` * expect(isMagnetURI('magnet:?xt.1=urn:sha1:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456&xt.2=urn:sha1:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456').value).toBeTruthy() * ``` * * @param target The target */ export declare function isMagnetURI(target: string): Result;