export interface GitLabOAuthTokens { access_token: string; token_type: string; expires_in?: number; refresh_token: string; created_at: number; } export interface GitLabOAuthConfig { applicationId: string; secret: string; gitlabUrl?: string; } /** * Helper class for GitLab OAuth operations */ export declare class GitLabOAuth { private applicationId; private secret; private gitlabUrl; constructor(config: GitLabOAuthConfig); /** * Generate GitLab OAuth authorization URL */ getAuthUrl(redirectUri: string, scopes?: string[]): string; /** * Exchange authorization code for access token */ getTokenFromCode(code: string, redirectUri: string): Promise; /** * Refresh an expired access token */ refreshToken(refreshToken: string): Promise; } //# sourceMappingURL=gitlabOAuth.d.ts.map