import { type AgentData, type ConnectionData, type IntegrationData } from '../sdk';
import type { MarketrixConfig } from '../types';
export interface WidgetValidationResult {
    isValid: boolean;
    error?: string;
    integration?: IntegrationData;
    agent?: AgentData;
    connection?: ConnectionData;
}
/**
 * WidgetValidationService
 *
 * Validates widget configuration by checking:
 * 1. Integration exists (via marketrix_id and marketrix_key) OR
 * 2. Agent ID and Connection ID exist and match
 */
export declare class WidgetValidationService {
    /**
     * 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 connection and agent by ID
     */
    private validateByAgentAndConnection;
}
export default WidgetValidationService;
//# sourceMappingURL=ValidationService.d.ts.map