export function parseOptions( options?: Record, ): string { return options ? new URLSearchParams(Object.entries(options)).toString() : ''; }