import type { OAuthRegisteredClientsStore } from "@modelcontextprotocol/sdk/server/auth/clients.js"; import type { OAuthClientInformationFull } from "@modelcontextprotocol/sdk/shared/auth.js"; declare class TtlMap { private ttlMs; private map; private timer; constructor(ttlMs: number); set(key: string, value: V): void; get(key: string): V | undefined; getAndDelete(key: string): V | undefined; delete(key: string): void; private cleanup; destroy(): void; } export interface PendingAuth { state: string; clientId: string; codeChallenge: string; redirectUri: string; scopes: string[]; supabaseCodeVerifier: string; } export declare const pendingAuthStore: TtlMap; export interface AuthCode { clientId: string; apiKey: string; codeChallenge: string; redirectUri: string; } export declare const authCodeStore: TtlMap; export interface RefreshEntry { clientId: string; apiKey: string; scopes: string[]; } export declare const refreshTokenStore: TtlMap; declare class InMemoryClientStore implements OAuthRegisteredClientsStore { private clients; getClient(clientId: string): OAuthClientInformationFull | undefined; registerClient(client: Omit): OAuthClientInformationFull; } export declare const clientStore: InMemoryClientStore; export {};