///
import { IURLSearchParams } from './types';
export default class SearchParams implements IURLSearchParams {
params: [string, string][];
isEncoded: boolean;
constructor(init?: string | [string, string][] | Record);
entries(): IterableIterator<[string, string]>;
append(name: string, value: string): void;
delete(name: string): void;
forEach(callback: (value: string, name: string, searchParams: this) => void): void;
get(name: string): string | null;
getAll(name: string): string[];
has(name: string): boolean;
keys(): IterableIterator;
/**
* The set() method of the URLSearchParams interface sets the value associated with a given
* search parameter to the given value. If there were several matching values, this method
* deletes the others. If the search parameter doesn't exist, this method creates it.
* @param name
* @param value
*/
set(name: string, value: string): void;
sort(): void;
toString(): string;
values(): IterableIterator;
[Symbol.iterator](): IterableIterator<[string, string]>;
}
export declare function extractParams(urlString: string, start: number, end: number, params: SearchParams, separators: number[], equals: number, breakCodes: number[], { encode }?: {
encode: boolean;
}): number;