import { Request, Response } from 'express' export interface ServiceProxyInterface { callEmailServer( request: Request, response: Response, endpointOrMethodIdentifier: string, payload?: Record | string, ): Promise callAuthServer( request: Request, response: Response, endpointOrMethodIdentifier: string, payload?: Record | string, ): Promise callAuthServerWithLegacyFormat( request: Request, response: Response, endpointOrMethodIdentifier: string, payload?: Record | string, ): Promise callRevisionsServer( request: Request, response: Response, endpointOrMethodIdentifier: string, payload?: Record | string, ): Promise callSyncingServer( request: Request, response: Response, endpointOrMethodIdentifier: string, payload?: Record | string, ): Promise callLegacySyncingServer( request: Request, response: Response, endpointOrMethodIdentifier: string, payload?: Record | string, ): Promise callPaymentsServer( request: Request, response: Response, endpointOrMethodIdentifier: string, payload?: Record | string, returnRawResponse?: boolean, ): Promise>> callWebSocketServer( request: Request, response: Response, endpointOrMethodIdentifier: string, payload?: Record | string, ): Promise validateSession(authorizationHeaderValue: string): Promise<{ status: number data: unknown headers: { contentType: string } }> }