import { SnapWyrConfig } from '@snapwyr/core'; export { LogEntry, RequestEvent, SnapWyrConfig, TransportFn, formatBytes, generateRequestId as generateRequestIdFromCore, getByteSize, redactSensitiveData, toCurl as toCurlFromCore } from '@snapwyr/core'; /** * @example * ```ts * import { logRequests } from 'snapwyr'; * logRequests(); * logRequests({ format: 'json', emoji: true }); * ``` */ declare function logRequests(config?: SnapWyrConfig): void; declare function stopLogging(): void; /** * @example * ```ts * const curl = toCurl({ method: 'POST', url: '...', headers: {...}, body: '...' }); * ``` */ declare function toCurl(params: { method: string; url: string; headers?: Record; body?: string; }): string; declare function generateRequestId(): string; export { generateRequestId, logRequests, stopLogging, toCurl };