/** * Placeholder Error Wrappers * * This module provides placeholder implementations for error wrapper functions * that are referenced in the errorHandling/index.ts but were missing. * These are minimal implementations to maintain backward compatibility. */ import { AsyncErrorWrapperOptions, RouteErrorWrapperOptions, DatabaseErrorWrapperOptions, ApiErrorWrapperOptions, BatchErrorWrapperOptions, TimeoutErrorWrapperOptions, TransformedError, StructuredError } from './errorTypes.js'; export declare const createAsyncErrorWrapper: Promise>(fn: T, _options?: AsyncErrorWrapperOptions) => T; export declare const createSyncErrorWrapper: any>(fn: T, _options?: RouteErrorWrapperOptions) => T; export declare const createRouteErrorWrapper: (_options?: RouteErrorWrapperOptions) => (_req: any, _res: any, next: any) => any; export declare const createDatabaseErrorWrapper: (_options?: DatabaseErrorWrapperOptions) => (error: any) => any; export declare const createApiErrorWrapper: (_options?: ApiErrorWrapperOptions) => (error: any) => any; export declare const createFileErrorWrapper: (_options?: any) => (error: any) => any; export declare const createBatchErrorWrapper: (_options?: BatchErrorWrapperOptions) => (error: any) => any; export declare const createTimeoutErrorWrapper: (_options?: TimeoutErrorWrapperOptions) => (error: any) => any; export declare const transformMongoError: (error: any) => TransformedError; export declare const createStructuredError: (message: string, code?: string, context?: Record) => StructuredError; export declare const logError: (error: Error | StructuredError, context?: string) => void; //# sourceMappingURL=placeholderWrappers.d.ts.map