export interface BuildUrlQueryOptions { /** URL-encode keys and values. Defaults to true; `false` writes them raw. */ encode?: boolean; /** `comma` writes `tags=a,b`, `repeat` writes `tags=a&tags=b` like `fetchJson`'s `query`. */ arrayFormat?: 'comma' | 'repeat'; } export declare function buildUrlQuery(query?: object | null, { encode, arrayFormat }?: BuildUrlQueryOptions): string; export interface NestedQuery { [key: string]: string | NestedQuery; } export declare function queryToNestedObject(query: Record): NestedQuery; //# sourceMappingURL=url.d.ts.map