/**
 * Developer API Methods Mixin
 *
 * Provides methods for managing developer applications and API keys
 */
import type { OxyServicesBase } from '../OxyServices.base';
export declare function OxyServicesDeveloperMixin<T extends typeof OxyServicesBase>(Base: T): {
    new (...args: any[]): {
        /**
         * Get developer apps for the current user
         * @returns Array of developer apps
         */
        getDeveloperApps(): Promise<any[]>;
        /**
         * Create a new developer app
         * @param data - Developer app configuration
         * @returns Created developer app
         */
        createDeveloperApp(data: {
            name: string;
            description?: string;
            webhookUrl: string;
            devWebhookUrl?: string;
            scopes?: string[];
        }): Promise<any>;
        /**
         * Get a specific developer app
         */
        getDeveloperApp(appId: string): Promise<any>;
        /**
         * Update a developer app
         * @param appId - The developer app ID
         * @param data - Updated app configuration
         * @returns Updated developer app
         */
        updateDeveloperApp(appId: string, data: {
            name?: string;
            description?: string;
            webhookUrl?: string;
            devWebhookUrl?: string;
            scopes?: string[];
        }): Promise<any>;
        /**
         * Regenerate API secret for a developer app
         * @param appId - The developer app ID
         * @returns App with new secret
         */
        regenerateDeveloperAppSecret(appId: string): Promise<any>;
        /**
         * Delete a developer app
         * @param appId - The developer app ID
         * @returns Deletion result
         */
        deleteDeveloperApp(appId: string): Promise<any>;
        httpService: import("../HttpService").HttpService;
        cloudURL: string;
        config: import("../OxyServices.base").OxyConfig;
        makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
        getBaseURL(): string;
        getClient(): import("../HttpService").HttpService;
        getMetrics(): {
            totalRequests: number;
            successfulRequests: number;
            failedRequests: number;
            cacheHits: number;
            cacheMisses: number;
            averageResponseTime: number;
        };
        clearCache(): void;
        clearCacheEntry(key: string): void;
        getCacheStats(): {
            size: number;
            hits: number;
            misses: number;
            hitRate: number;
        };
        getCloudURL(): string;
        setTokens(accessToken: string, refreshToken?: string): void;
        clearTokens(): void;
        getCurrentUserId(): string | null;
        hasValidToken(): boolean;
        getAccessToken(): string | null;
        waitForAuth(timeoutMs?: number): Promise<boolean>;
        withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
            maxRetries?: number;
            retryDelay?: number;
            authTimeoutMs?: number;
        }): Promise<T_1>;
        validate(): Promise<boolean>;
        handleError(error: unknown): Error;
        healthCheck(): Promise<{
            status: string;
            users?: number;
            timestamp?: string;
            [key: string]: any;
        }>;
    };
    __resetTokensForTests(): void;
} & T;
//# sourceMappingURL=OxyServices.developer.d.ts.map