import { MessageFunctionType, Result } from '../types'; export interface IsURLFragmentContainedErrors { URL_ARGUMENT_NOT_A_STRING: MessageFunctionType; FRAGMENT_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_URL_FRAGMENT_CONTAINED_ERRORS: IsURLFragmentContainedErrors; /** * Checks whether the `url` path * contains the `fragment` argument. * * Note that if the URL fragment does not * exist, then Javascript considers * the fragment to be an empty string or * ''. * * So if the fragment argument is also an * empty string, the validation result will * be true as an empty string contains and empty * string. * * Also Note that the validation of the url * argument should be performed before passing * the `url` argument to this validation. * * ### Example * ``` * expect(isURLPathsEqual(urlA, "/aa/bb/").value).toBeTruthy(); * ``` * @param url The url string * @param path The path string */ export declare function isURLFragmentContained(url: string, fragment: string): Result;