import { ServiceId } from '../../Address.js'; import { RequestOptions } from '../Chat.js'; declare module '../Chat' { interface UnauthenticatedChatConnection extends UnauthProfilesService { } } export interface UnauthProfilesService { /** * Does an account with the given ACI or PNI exist? * * Throws / completes with failure only if the request can't be completed. */ accountExists: (request: { account: ServiceId; }, options?: RequestOptions) => Promise; }