import { AuditEntry } from '../interfaces/audit-entry.interface'; import { AuditStreamBatchContext, AuditStreamSink } from './audit-stream'; export type AuditHttpStreamFormat = 'json' | 'ndjson'; export interface HttpAuditStreamSinkOptions { url: string; format?: AuditHttpStreamFormat; headers?: Record; fetch?: typeof fetch; timeoutMs?: number; serialize?: (entries: readonly AuditEntry[], context: AuditStreamBatchContext) => { body: string; contentType: string; }; } export declare class HttpAuditStreamSink implements AuditStreamSink { private readonly options; constructor(options: HttpAuditStreamSinkOptions); deliver(entries: readonly AuditEntry[], context: AuditStreamBatchContext): Promise; } export declare function toWireEntry(entry: AuditEntry): Record; //# sourceMappingURL=http-sink.d.ts.map