export interface ParsedQuery<T = string> {
    [key: string]: T | T[] | null;
}
declare function parse(input: string | any): ParsedQuery;
type StringifyQueryItem = string | boolean | number | null | undefined;
type StringifyQuery = Record<string, StringifyQueryItem | readonly StringifyQueryItem[]>;
interface StringifyOptions {
    /**
   * URL encode the keys and values
   *
   * @default true
   */ encode?: boolean;
    /**
   * Skip keys with `null` as the value.
   * Keys with `undefined` as the value are always ignored.
   *
   * @default true
   */ skipNull?: true;
}
declare function stringify(data: StringifyQuery, options?: StringifyOptions): string;
export declare const querystring: {
    parse: typeof parse;
    stringify: typeof stringify;
};
export { };
