import type { SearchParameters } from './search-parameter-actions.js';
import { SearchParamValue } from './search-parameter-utils.js';
export declare function buildSSRSearchParameterSerializer(): {
    toSearchParameters: typeof toSearchParameters;
    serialize: typeof serialize;
};
/**
 * Converts URLSearchParams or a record of search parameters into a {@link SearchParameters} object.
 *
 * @param urlSearchParams - The URLSearchParams or record of search parameters.
 * @returns The converted SearchParameters object.
 */
declare function toSearchParameters(urlSearchParams: URLSearchParams | Record<string, SearchParamValue>): SearchParameters;
/**
 * Serializes the search parameters to the provided URL.
 *
 * @param searchParameters - The search parameters to be serialized.
 * @param initialUrl - The initial URL to which the search parameters will be added.
 * @returns The serialized URL.
 */
declare function serialize(searchParameters: SearchParameters, initialUrl: URL): string;
export {};
