import { AccessToken, AuthInfo, DataHandler, Request } from "oauth2-nodejs"; export declare class CloudFirestoreDataHandler implements DataHandler { private _request; constructor(request: Request); getRequest(): Request; createOrUpdateAccessToken(authInfo: AuthInfo, grantType: string): Promise; createOrUpdateAuthInfo(clientId: string, userId: string, scope?: string): Promise; private findAuthInfo; private convertAuthInfo; getClientUserId(clientId: string, clientSecret: string): Promise; validateClient(clientId: string, clientSecret: string, grantType: string): Promise; validateClientById(clientId: string): Promise; validateClientForAuthorization(clientId: string, responseType: string): Promise; validateRedirectUri(clientId: string, redirectUri: string): Promise; validateScope(clientId: string, scope?: string): Promise; getAccessToken(token: string): Promise; getAuthInfoByRefreshToken(refreshToken: string): Promise; getAuthInfoByCode(code: string): Promise; getAuthInfoById(id: string): Promise; validateUserById(userId: string): Promise; getUserId(username: string, password: string): Promise; }