/**
 * HostedApiClient - OpenRouter-based AI client with generous free tier
 *
 * Uses OpenRouter's API with DeepSeek R1 for powerful, free AI generation.
 * Works without API key (with rate limits), or add OPENROUTER_API_KEY for higher limits.
 */
export interface HostedApiResponse {
    success: boolean;
    content?: string;
    data?: any;
    error?: string;
    metadata?: any;
    usage?: {
        tokens: number;
        cost: number;
        remaining: number;
    };
    pricing?: {
        plan: string;
        monthly_cost: number;
        usage_this_month: number;
    };
}
export declare class HostedApiClient {
    private modelName;
    private apiUrl;
    private apiKey;
    constructor(apiKey?: string);
    private loadModelFromConfig;
    generateText(prompt: string, options?: any): Promise<HostedApiResponse>;
    generateComponent(prompt: string, options?: any): Promise<HostedApiResponse>;
    checkConnection(): Promise<boolean>;
    getPricing(): Promise<any>;
    generateContext(type: string, prompt: string, options?: any): Promise<HostedApiResponse>;
    getUsage(period?: string): Promise<any>;
    subscribeToPlan(plan: string, paymentMethod?: any): Promise<any>;
    hasApiKey(): boolean;
}
//# sourceMappingURL=hostedApiClient.d.ts.map