import type { OAuthTokens } from "@modelcontextprotocol/sdk/shared/auth.js";
/**
 * Get stored OAuth tokens for a server (if any).
 * Returns undefined if no tokens or tokens are expired.
 *
 * Token file location: $MCP_OAUTH_DIR/<server>/tokens.json when set,
 * otherwise <Pi agent dir>/mcp-oauth/<server>/tokens.json
 *
 * Expected format:
 * {
 *   "access_token": "...",
 *   "token_type": "bearer",
 *   "refresh_token": "...",  // optional
 *   "expires_in": 3600,      // optional, seconds
 *   "expiresAt": 1234567890  // optional, absolute timestamp ms
 * }
 */
export declare function getStoredTokens(serverName: string): OAuthTokens | undefined;
//# sourceMappingURL=oauth-handler.d.ts.map