import { MessageFunctionType, Result } from '../types'; export interface IsURLFragmentEqualErrors { URL_ARGUMENT_NOT_A_STRING: MessageFunctionType; FRAGMENT_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_URL_FRAGMENT_EQUAL_ERRORS: IsURLFragmentEqualErrors; /** * Checks whether the `url` fragment * is equal to the `fragment` argument. * * Note that the validation of the url * argument should be performed before passing * the `url` argument to this validation. * * ### Example * ``` * expect(isURLFragmentEqual(urlA, "/aa/bb/").value).toBeTruthy(); * ``` * @param url The url string * @param fragment The fragment string */ export declare function isURLFragmentEqual(url: string, fragment: string): Result;