import type { ConnectorRemoteOutcome, ConnectorRetrySafety } from './definition.js'; export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD'; export interface HttpConnectorConfig { baseUrl: string; defaultHeaders?: Record; timeoutMs?: number; maxResponseBytes?: number; } export interface HttpRequestInput { method: HttpMethod; path: string; headers?: Record; query?: Record; body?: unknown; } export interface HttpResponseOutput { status: number; statusText: string; headers: Record; body: unknown; bodyAvailable?: boolean; bodyError?: string; remoteOutcome?: ConnectorRemoteOutcome; retrySafety?: ConnectorRetrySafety; } //# sourceMappingURL=http.d.ts.map