import type { AuthenticatorCredentialResult, CheckDataResult } from '@sociably/auth'; import MemoCacheTarget from './CacheTarget.js'; import WebviewConnection from '../../Connection.js'; import { WebviewClientAuthenticator } from '../../types.js'; import type { MemoAuthData, MemoAuthContext } from './types.js'; declare class MemoClientAuthenticator implements WebviewClientAuthenticator { readonly platform: "webview"; readonly marshalTypes: (typeof WebviewConnection | typeof MemoCacheTarget)[]; init(): Promise<{ forceSignIn: boolean; }>; fetchCredential(): Promise>; checkAuthData({ user: userId, thread: threadId, }: MemoAuthData): CheckDataResult; closeWebview(): boolean; } export default MemoClientAuthenticator;