/** * Contentstack error types */ export type ContentstackErrorCode = 'NETWORK_ERROR' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'UNKNOWN'; /** * Standardized Contentstack error structure */ export interface ContentstackError { code: ContentstackErrorCode; message: string; originalError?: unknown; context?: string; } /** * Handle and standardize Contentstack errors */ export declare function handleContentstackError(error: unknown, context: string): ContentstackError; /** * Log Contentstack error with consistent formatting */ export declare function logContentstackError(error: ContentstackError, context?: string): void;