import type { Logger } from './logger-port'; export interface McpOAuthCredentialInput { userId: number; mcpServerId: string; refreshTokenEnc: Buffer | null; accessTokenEnc?: Buffer | null; clientId?: string | null; clientSecretEnc?: Buffer | null; clientSecretExpiresAt?: Date | null; tokenEndpoint: string; tokenEndpointAuthMethod?: string | null; scopes?: string | null; } export interface StoredMcpOAuthCredential extends McpOAuthCredentialInput { id: number; } export interface McpOAuthCredentialsStore { init(logger?: Logger): Promise; close(logger?: Logger): Promise; get(userId: number, mcpServerId: string): Promise; upsert(credential: McpOAuthCredentialInput): Promise; updateIfPresent(id: number, credential: McpOAuthCredentialInput): Promise; delete(userId: number, mcpServerId: string): Promise; } //# sourceMappingURL=mcp-oauth-credentials-store.d.ts.map