import { Config } from "./types/Config"; interface LogProps { config: Config; message: string; } declare function logDebug({ config, message }: LogProps): void; declare function logInfo({ config, message }: LogProps): void; declare function logWarning({ config, message }: LogProps): void; declare function logError({ config, message }: LogProps): void; interface DebugDetails { type: 'request' | 'response' | 'error'; url?: string; method?: string; guid?: string | null; apiType?: 'fetch' | 'preview'; requestHeaders?: Record; responseHeaders?: Record; statusCode?: number; statusText?: string; contentType?: string; contentLength?: string; duration?: number; timestamp?: string; errorName?: string; errorMessage?: string; errorStack?: string; responsePreview?: string; responsePreviewTruncated?: boolean; } /** * Converts a fetch Headers instance (or plain object) to a plain object */ declare function headersToObject(headers: Record | Headers): Record; /** * Logs detailed debug information about requests, responses, and errors * in a uniform structured format. Enabled by config.debug or logLevel 'debug'. */ declare function logDebugDetails({ config, details }: { config: Config; details: DebugDetails; }): void; declare function buildRequestUrlPath(config: any, locale: any): string; declare function buildPathUrl(contentType: any, referenceName: any, skip: any, take: any, sort: any, direction: any, filters: any, filtersLogicOperator: any, filterString: any, contentLinkDepth: any, expandAllContentLinks: any): string; declare function buildAuthHeader(config: any): any; declare function isHttps(url: any): boolean; export { buildPathUrl, buildAuthHeader, buildRequestUrlPath, isHttps, logError, logDebug, logInfo, logWarning, logDebugDetails, headersToObject }; export type { DebugDetails };