/** * Strips query parameters (`?...`) and hash fragments (`#...`) from a URL string, returning only the base URL. * * Operates via simple string splitting rather than URL parsing, so it works with partial or non-standard URLs. * * @param url - the full URL string to clean * @returns the URL string with query parameters and hash fragments removed * * @example * ```ts * const base = urlWithoutParameters('https://test.com:1234?test=true'); * // base === 'https://test.com:1234' * ``` */ export declare function urlWithoutParameters(url: string): string;