import { JwtService } from '@nestjs/jwt';
import { Request, Response } from 'express';
export declare class McpOauthController {
    private readonly jwtService;
    private readonly authorizationCodes;
    constructor(jwtService: JwtService);
    private getBaseUrl;
    private protectedResourceMetadata;
    private authorizationServerMetadata;
    getProtectedResourceMetadataRoot(req: Request, res: Response): Response<any, Record<string, any>>;
    getOpenAiAppsChallengeRoot(res: Response): Response<any, Record<string, any>>;
    getProtectedResourceMetadataV1(req: Request, res: Response): Response<any, Record<string, any>>;
    getOpenAiAppsChallengeV1(res: Response): Response<any, Record<string, any>>;
    getAuthorizationServerMetadataRoot(req: Request, res: Response): Response<any, Record<string, any>>;
    getAuthorizationServerMetadataV1(req: Request, res: Response): Response<any, Record<string, any>>;
    authorizeRoot(req: Request, res: Response): void | Response<any, Record<string, any>>;
    authorizeV1(req: Request, res: Response): void | Response<any, Record<string, any>>;
    registerClientRoot(res: Response): Response<any, Record<string, any>>;
    registerClientV1(res: Response): Response<any, Record<string, any>>;
    tokenRoot(body: any, res: Response): Response<any, Record<string, any>>;
    tokenV1(body: any, res: Response): Response<any, Record<string, any>>;
    private issueToken;
    callbackRoot(req: Request, res: Response, query: any): void | Response<any, Record<string, any>>;
    callbackV1(req: Request, res: Response, query: any): void | Response<any, Record<string, any>>;
    private handleAuthorize;
    private handleCallback;
}
