/** * Client for the pod's `POST /v1/link-prompt/dismiss` route (nocode-runtime * linkcoh T4) — the "don't ask again" action on the * {@link ProfileLinkRequest} prompt (see `./sse`'s `parseLinkRequest` and * `useAgentInvoke`'s `profileLinkRequest` state). Host-agnostic like * {@link fetchThreadHistory} in `./history`: takes a bearer directly (the * route authenticates ONLY off the verified bearer — the request body is * never read server-side, so there is nothing else to send) and an * injectable `fetchImpl` for tests, defaulting to the global `fetch`. */ /** * Dismiss the pending cross-app profile link prompt for the calling byo * end-user. `baseUrl` is the public read-plane base already ending in `/v1` * (same convention as {@link fetchThreadHistory}'s `baseUrl`); `bearer` is the * caller's byo access token, sent as `Authorization: Bearer ` — the * ONLY thing the pod's route reads to determine the dismissal subject. * * Resolves on a 204 (the route's only success response); throws on any * non-2xx status (401 unauthenticated, 403 non-byo caller, 500 write failure). */ export declare function dismissLinkPrompt(baseUrl: string, bearer: string, fetchImpl?: typeof fetch): Promise; //# sourceMappingURL=link-prompt.d.ts.map