export interface QueryParams { [key: string]: string; } export default class Query { static decode(text: string): QueryParams; static encode(text: any): string; }