/**
 * Check if a value is a valid URL.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function isUrl(value: string | URL | null | undefined): boolean;
/**
 * Parse a value as a URL.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function parseUrl(value: string | URL): URL | undefined;
/**
 * Convert a URL search parameter to an array.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function urlSearchParamAsArray(value: string | null | undefined): string[];
/**
 * Convert a URL search parameter to a boolean.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function urlSearchParamAsBoolean(value: string | null | undefined, defaultValue?: boolean): boolean;
/**
 * Helper to get array from URLSearchParams.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function urlSearchParamsGetArray(params: URLSearchParams | null | undefined, key: string): string[];
/**
 * Helper to get boolean from URLSearchParams.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function urlSearchParamsGetBoolean(params: URLSearchParams | null | undefined, key: string, defaultValue?: boolean): boolean;
/**
 * Create a relative URL for testing.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function createRelativeUrl(path: string, base?: string): string;
/**
 * Get string value from URLSearchParams with a default.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function urlSearchParamAsString(params: URLSearchParams | null | undefined, key: string, defaultValue?: string): string;
/**
 * Get number value from URLSearchParams with a default.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function urlSearchParamAsNumber(params: URLSearchParams | null | undefined, key: string, defaultValue?: number): number;
