import type { ConnectionMetadata } from "@opengeni/sdk"; import type { OpenGeniBrowserClient } from "@opengeni/sdk/browser"; type OwnLoginClient = Pick; /** * Your own login (an "Only me" account) works for your messages in your * Personal workspace and in each shared workspace where it is turned on * (D-54). It starts on where you added it. Turning it on here is your * standing grant for this workspace, never a per-chat approval. */ export declare function ownLoginOffHere(account: Pick): boolean; /** Whether this own login can be turned off here: on by a standing grant. */ export declare function ownLoginCanStopHere(account: Pick): boolean; export declare function turnOnOwnLoginHere(client: OwnLoginClient, workspaceId: string, account: Pick): Promise; /** * Turn your own logins on here: one account's connections, each once. The * same standing grant as `turnOnOwnLoginHere`. Tries every connection, then * reports the first failure. */ export declare function turnOnOwnLoginsHere(client: OwnLoginClient, workspaceId: string, accounts: readonly Pick[]): Promise; /** * Turn your own logins off here: every standing grant behind them, once * each. One account connected twice has two connections, and turning it off leaves * neither on. Tries every grant, then reports the first failure. */ export declare function stopOwnLoginsHere(client: OwnLoginClient, workspaceId: string, accounts: readonly Pick[]): Promise; export {};