import { ZenskarError } from '../types/elements'; export type ServiceData = { data: T; }; /** * Transform various error types into standardized ZenskarError format * * @param error - The error to transform (can be Error, string, or unknown) * @returns Standardized ZenskarError object */ export declare const transformToZenskarError: (error: unknown) => ZenskarError; /** * Simple utility to wrap successful response data * * @param data - The successful response data * @returns Wrapped data in { data: T } format */ export declare const wrapServiceData: (data: T) => ServiceData;