/** * Parse an immers handle string into username and home immer hostname * @param {string} handle Immers handle (username[home.immer] or username@home.immer) * @returns {ParsedHandle} Parsed handle object (values are undefined if handle not valid) */ export function parseHandle(handle: string): ParsedHandle; export function desc(prop: any): (a: any, b: any) => 1 | -1 | 0; /** * Process a url-like input into a fully formed URL in order to fetch * a specific portion via the URL API * @param {string} input - potentially incomplete origin, e.g. domain/hostname, host, or origin * @param {string} part - property name from the URL API to return, e.g. 'origin' or 'host' */ export function getURLPart(input: string, part: string): any; /** * Generate anchor tag for a place, e.g. for arrive/leave summaries. * Returned value is sanitized and safe to render. * @param {Activities.APPlace} place * @returns {string} sanitized html */ export function htmlAnchorForPlace(place: Activities.APPlace): string; export type ParsedHandle = { /** * - The user's local identifier */ username: string | undefined; /** * - The user's home immer hostname */ immer: string | undefined; };