import type { TQueryParamsInput } from "../getQueryParams/index.d.mts"; export type TGetQueryParamArgs = Parameters; export type TGetQueryParamReturn = ReturnType; /** * Gets the first value of a URL query parameter. * @param {string} name Parameter name * @param {TQueryParamsInput} [input] URL, query string, or URLSearchParams; current URL by default * @returns {string|null} First value or `null` when absent * @throws {TypeError} getQueryParam: name must be a string * @example * getQueryParam("page", "?page=2"); // "2" * @example * // Read an optional feature flag from the current browser URL * const isPreview = getQueryParam("preview") === "true"; */ export declare const getQueryParam: (name: string, input?: TQueryParamsInput) => string | null;