/** * Creates a path by appending the current location's hash if applicable. * * @param path - The base path to which the current location's hash is appended. * @returns The resulting path with the hash from the current location if applicable. */ export declare function createPathWithCurrentLocationHasHash(path: string, currentUrl?: string): string; /** * Get current the current location's hash if applicable. * * @returns The current location. */ export declare function getCurrentLocationHasHash(): string; /** * Returns the href based on whether to include the hash or not. * * @param url - The URL object. * @param hash - Boolean indicating whether to include the hash in the result. * @returns The href string with or without hash based on the `hash` parameter. */ export declare function getHrefWhenHashOrNormal(url: URL, hash?: boolean): string; /** * Applies transformations to params based on the provided functions. * * @param params - The parameters object. * @param beforePaths - Array of functions to transform the params. * @returns The transformed params. */ export declare function getParams(params: Params, beforePaths: Array<(params: Params) => void>): Exclude; /** * Extracts and parses search parameters from the provided params object. * * @param params - Object potentially containing searchParams. * @returns The search parameters as a query string. */ export declare function getSearchParams(params?: Params): string; /** * Validates if the provided string is a valid URL. * * @param urlString - The URL string to validate. * @returns True if valid URL, false otherwise. */ export declare function isValidUrl(urlString: string): boolean;