/** * Humanize engineering connection / tool identifiers for the prosumer Apps * surfaces (PAP-10897). * * `connection.name` (and tool ids) can carry raw IPs, `Plugin:` prefixes with * dotted package paths, and `vendor:tool` ids. None of that vocabulary may leak * into `/apps`, `/apps/attention`, or the App-detail header — only `/apps/advanced` * is allowed to show the raw identifiers. This module turns those identifiers * into recognizable, plain-language labels. */ export interface HumanizableConnection { name: string; } type ConnectionLike = HumanizableConnection | string | null | undefined; /** * Turn an app/connection identifier (or a tool id) into a prosumer-friendly * label. Pass `options.title` (e.g. a catalog entry's `title`) to prefer a * known human title over any derivation. * * `127.0.0.1` → `Custom app` * `Plugin: paperclipai.plugin-briefs` → `Briefs` * `mcp-remote-fixture:update_note` → `Update Note` * `Zapier` / `Notion` → unchanged */ export declare function humanizeConnectionDisplayName(input: ConnectionLike, options?: { title?: string | null; }): string; /** * Optional secondary line for the App-detail page only: when the raw name is a * network address we hide it from the header but may still show `hosted at …` * underneath as a small trust/clarity hint. Returns null when there's nothing * worth surfacing. */ export declare function connectionDisplaySecondaryHint(input: ConnectionLike): string | null; export {}; //# sourceMappingURL=humanize-connection.d.ts.map