export function encode(input: any): string export function decode(input: string): any export function decodeUnsafe(input: string): any