/**
 * Custom OAuth Provider
 *
 * Allows users to implement custom OAuth providers with their own
 * JWT verification logic and user info extraction.
 */
import type { OAuthProvider, UserInfo, CustomOAuthConfig } from "./types.js";
export declare class CustomOAuthProvider implements OAuthProvider {
    private config;
    constructor(config: CustomOAuthConfig);
    verifyToken(token: string): Promise<{
        payload: Record<string, unknown>;
    }>;
    getUserInfo(payload: Record<string, unknown>): UserInfo;
    getIssuer(): string;
    getAuthEndpoint(): string;
    getTokenEndpoint(): string;
    getScopesSupported(): string[];
    getGrantTypesSupported(): string[];
}
//# sourceMappingURL=custom.d.ts.map