activity-kit-core/packages/activitypub-core-mongodb/lib/getAuthenticatedUserIdByTok...

8 lines
240 B
TypeScript

import { MongoDatabase } from '.';
import { ServiceAccount } from 'firebase-admin';
export declare function getAuthenticatedUserIdByToken(
this: MongoDatabase,
token: string,
serviceAccount: ServiceAccount,
): Promise<string | null>;