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