import { type AgentData, type ApplicationData, type WidgetData } from '../sdk';
import type { MarketrixConfig } from '../types';
export interface WidgetValidationResult {
    isValid: boolean;
    error?: string;
    widget?: WidgetData;
    agent?: AgentData;
    application?: ApplicationData;
}
/**
 * WidgetValidationService
 *
 * Validates widget configuration by checking:
 * 1. Widget exists (via marketrix_id and marketrix_key) OR
 * 2. Agent ID and Application ID exist and match
 */
export declare class WidgetValidationService {
    private config?;
    /**
     * Validate widget configuration
     * Handles both mtxId+mtxKey and mtxApp+mtxAgent cases
     */
    validateConfig(config: MarketrixConfig): Promise<WidgetValidationResult>;
    /**
     * Validate by mtxId and mtxKey
     */
    private validateByMarketrixId;
    /**
     * Validate by mtxApp and mtxAgent directly
     * Validates application and agent by ID
     */
    private validateByAgentAndApplication;
}
export default WidgetValidationService;
//# sourceMappingURL=ValidationService.d.ts.map