import type { OAuth2Tokens } from "../oauth2.js"; export declare class GitLab { private authorizationEndpoint; private tokenEndpoint; private tokenRevocationEndpoint; private client; constructor(baseURL: string, clientId: string, clientSecret: string | null, redirectURI: string); createAuthorizationURL(state: string, scopes: string[]): URL; validateAuthorizationCode(code: string): Promise; refreshAccessToken(refreshToken: string): Promise; revokeToken(token: string): Promise; }