import ValueCollection from "../classes/ValueCollection";
export declare const trimString: (str: string) => string;
/**
 * Efficiently parse Key-Value Strings into ValueCollections
 * @since 7.0.0
*/ export default function parseKV<Type extends 'ValueCollection' | 'Object'>(type: Type, keyValue: string, equal?: string, splitter?: string, decode?: typeof decodeURIComponent): Type extends 'ValueCollection' ? ValueCollection<string, string> : Record<string, string>;
