/**
 * Helper utilities for mixin classes
 * Provides common patterns to reduce code duplication
 */
import type { OxyServicesBase } from '../OxyServices.base';
/**
 * Wraps an async method with standard error handling
 * Reduces boilerplate in mixin methods
 */
export declare function withErrorHandling<T>(operation: () => Promise<T>, handleError: (error: any) => Error): Promise<T>;
/**
 * Creates a standard API request method with error handling
 * Reduces duplication across mixin methods
 */
export declare function createApiMethod<T>(makeRequest: OxyServicesBase['makeRequest'], handleError: OxyServicesBase['handleError'], method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE', url: string | ((...args: any[]) => string), options?: {
    cache?: boolean;
    cacheTTL?: number;
    retry?: boolean;
    transformData?: (data: any) => any;
    transformResponse?: (response: any) => T;
}): (...args: any[]) => Promise<T>;
/**
 * Cache time constants (in milliseconds)
 */
export declare const CACHE_TIMES: {
    readonly SHORT: number;
    readonly MEDIUM: number;
    readonly LONG: number;
    readonly VERY_LONG: number;
    readonly EXTRA_LONG: number;
};
//# sourceMappingURL=mixinHelpers.d.ts.map