/**
 * Core compiler interface for ATP
 * All ATP compilers must implement this interface to ensure consistency
 */
/**
 * Type guard to check if an object implements ICompiler
 */
export function isCompiler(obj) {
    return (typeof obj === 'object' &&
        obj !== null &&
        'detect' in obj &&
        'transform' in obj &&
        'getType' in obj &&
        typeof obj.detect === 'function' &&
        typeof obj.transform === 'function' &&
        typeof obj.getType === 'function');
}
//# sourceMappingURL=compiler-interface.js.map