/** * synap open entity * synap open view * synap open proposal * synap open cell * synap open document * synap open ← resolves type automatically * * Sends a synap:// deep link to the Electron browser app, which opens the * entity, view, proposal, cell, or document in the UI. The bare-ID form calls * GET /api/hub/resolve/:id to determine the type before dispatching. * * Works from any terminal — the OS routes the URL to the registered synap:// * protocol handler. Requires the Synap desktop app to be running. */ export type OpenKind = "entity" | "view" | "cell" | "document" | "proposal"; export interface OpenOpts { kind: OpenKind; id: string; } export interface ResolveResult { type: "proposal" | "entity" | "view" | "document" | "unknown"; id: string; displayName: string | null; workspaceId: string | null; profileSlug?: string | null; } export declare function openInBrowser(opts: OpenOpts): Promise; /** * Resolve a bare ID then open in browser. */ export declare function resolveAndOpen(id: string): Promise;